Skip to content

UriParser Fix for decoding files with open square bracket#562

Open
japplis wants to merge 7 commits into
apache:masterfrom
japplis:uri-parser-square-bracket-decode
Open

UriParser Fix for decoding files with open square bracket#562
japplis wants to merge 7 commits into
apache:masterfrom
japplis:uri-parser-square-bracket-decode

Conversation

@japplis

@japplis japplis commented Jul 3, 2024

Copy link
Copy Markdown
Contributor

Detection of IPv6 ip addresses should ignore decoding of %nn text. It is done at the moment in the buffer length (from decode(String) instead of where the host name should be. This result in incorrect decoding of files like 'file%20[hello%20world].txt as all text after [ (and before ] if present) is not decoded.

@garydgregory

Copy link
Copy Markdown
Member

See also #558

@japplis

japplis commented Jul 30, 2024

Copy link
Copy Markdown
Contributor Author

Master merged. #558 is not related to this bug.

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.

2 participants