47ng / 47ng/nuqs

nginx servers return errors when special characters {}|\^ are present in query parameters

未关闭
#1,069 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。