nginx servers return errors when special characters {}|\^ are present in query parameters
- Lenguaje dominante
- TypeScript
- Estrellas
- 10.8k
- Forks
- 294
- Merge medio
- 1 d 16 h
- PR fusionados (30 d)
- 21
Descripción
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.
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- nginx, typescript
- Área
- api, backend
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 35/100