nginx servers return errors when special characters {}|\^ are present in query parameters
- 主要言語
- 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