nginx servers return errors when special characters {}|\^ are present in query parameters
- Lingua principale
- TypeScript
- Stelle
- 10.8k
- Fork
- 294
- Merge medio
- 1g 16h
- PR unite (30g)
- 21
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- nginx, typescript
- Ambito
- api, backend
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 35/100