Skip to content

Fix overpermissive percent-decoding of URIs ('%eth1' case)#24941

Merged
drfloob merged 1 commit intogrpc:masterfrom
drfloob:fix-uri-parser-overpermissive-invalid-percent-decoding
Dec 9, 2020
Merged

Fix overpermissive percent-decoding of URIs ('%eth1' case)#24941
drfloob merged 1 commit intogrpc:masterfrom
drfloob:fix-uri-parser-overpermissive-invalid-percent-decoding

Conversation

@drfloob
Copy link
Copy Markdown
Member

@drfloob drfloob commented Dec 9, 2020

Invalid %nn 3-character strings were being incorrectly decoded. For
example, in %eth1, the %e was being translated to ASCII 14, while
the correct behavior is to leave %eth1 unchanged since the string
%et is an invalid 3-character percent encoding.

@markdroth

@drfloob drfloob added the release notes: no Indicates if PR should not be in release notes label Dec 9, 2020
Invalid `%nn` 3-character strings were being incorrectly decoded. For
example, in `%eth1`, the `%e` was being translated to ASCII 14, while
the correct behavior is to leave `%eth1` unchanged since the string
`%et` is an invalid 3-character percent encoding.
@drfloob drfloob force-pushed the fix-uri-parser-overpermissive-invalid-percent-decoding branch from e882e85 to 6cc1d2e Compare December 9, 2020 16:06
@drfloob
Copy link
Copy Markdown
Member Author

drfloob commented Dec 9, 2020

The MacOS artifact build failure is not related to this work, and it's being investigated separately. I'm merging this PR given that all other tests pass.

@drfloob drfloob merged commit 82f0102 into grpc:master Dec 9, 2020
@drfloob drfloob deleted the fix-uri-parser-overpermissive-invalid-percent-decoding branch December 9, 2020 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release notes: no Indicates if PR should not be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants