nginx servers return errors when special characters {}|\^ are present in query parameters
- Langage dominant
- TypeScript
- Étoiles
- 10.8k
- Forks
- 294
- Merge moyen
- 1 j 16 h
- PR mergées (30 j)
- 21
Description
When query parameters contain special characters like {}|\^, some nginx servers return HTTP errors, making the application inaccessible. This issue occurs because these characters are not properly encoded according to RFC 3986 standards.
### Proposed Solution
Add {}|\^? to the list of characters encoded by the encodeQueryValue function to ensure RFC 3986 compliance and server compatibility.
I have already submitted a pull request #1068 that implements this fix. Please review and consider merging this change to address the nginx compatibility issues.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
The issue references a pull request #1068 that is already submitted. The fix involves modifying the `encodeQueryValue` function to encode additional special characters. To understand the change, review the linked PR and the function's location in the codebase. The work is already claimed and the thread is quiet, so this is not a starting point for a new contributor.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- nginx, typescript
- Domaine
- api, backend
- Type d'issue
- Bug
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 35/100