47ng / 47ng/nuqs

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

オープン
#1,069 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
cannot-reproduce
主要言語
TypeScript
スター
10.8k
フォーク
294
平均マージ
1日 16時間
マージ済み PR(30日)
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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
nginx, typescript
領域
api, backend
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。