Skip to content

doc: fix unencoded characters with ngx.escape_uri#2492

Open
u5surf wants to merge 1 commit intoopenresty:masterfrom
u5surf:issue-2468
Open

doc: fix unencoded characters with ngx.escape_uri#2492
u5surf wants to merge 1 commit intoopenresty:masterfrom
u5surf:issue-2468

Conversation

@u5surf
Copy link
Copy Markdown
Contributor

@u5surf u5surf commented Mar 31, 2026

I hereby granted the copyright of the changes in this pull request
to the authors of this lua-nginx-module project.

Fixes: #2468

It seems to be incorrect its document. *()'! are defined as sub-delims characters which should not be encoded in case of their delimiter in RFC3986. To keep backward compatibilities, and follow nginx behavior, we should fix its doc now.
https://www.rfc-editor.org/rfc/rfc3986#section-2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ngx.escape_uri does not follow its doc strictly

1 participant