Skip to content

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

@kimjeongwonn

Description

@kimjeongwonn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cannot-reproduceEither no reproduction provided, or cannot reproduce with a minimal setup

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions