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.