nginx servers return errors when special characters {}|\^ are present in query parameters
未关闭
cannot-reproduce
- 主要语言
- TypeScript
- 星标
- 10.8k
- 派生
- 294
- 平均合并
- 1 天 16 小时
- 30 天内合并 PR
- 21
描述
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.
贡献指南
评估
这个 Issue 还没有评估数据。