Add option to mostly strictly check URL characters#8012
Merged
shinrich merged 1 commit intoapache:masterfrom Jul 12, 2021
Merged
Add option to mostly strictly check URL characters#8012shinrich merged 1 commit intoapache:masterfrom
shinrich merged 1 commit intoapache:masterfrom
Conversation
Member
Author
|
[approve ci autest] |
maskit
approved these changes
Jul 12, 2021
Member
maskit
left a comment
There was a problem hiding this comment.
Not a big deal, but we may want to update places that pass boolean values.
zwoop
added a commit
to zwoop/trafficserver
that referenced
this pull request
Jan 27, 2022
Following up on Susan's apache#8012, this patch makes the default parsing option "2", which enforces no white spaces in URL components.
zwoop
pushed a commit
that referenced
this pull request
Feb 4, 2022
(cherry picked from commit 284fe0a)
zwoop
added a commit
that referenced
this pull request
Feb 4, 2022
Following up on Susan's #8012, this patch makes the default parsing option "2", which enforces no white spaces in URL components.
zwoop
added a commit
that referenced
this pull request
Feb 4, 2022
Contributor
|
Cherry-picked to v9.1.x branch. |
zwoop
added a commit
that referenced
this pull request
Feb 11, 2022
ezelkow1
pushed a commit
to ezelkow1/trafficserver
that referenced
this pull request
Feb 24, 2022
(cherry picked from commit 284fe0a)
ezelkow1
pushed a commit
to ezelkow1/trafficserver
that referenced
this pull request
Feb 24, 2022
Following up on Susan's apache#8012, this patch makes the default parsing option "2", which enforces no white spaces in URL components. (cherry picked from commit 03b063a)
bneradt
pushed a commit
to bneradt/trafficserver
that referenced
this pull request
Feb 24, 2022
(cherry picked from commit 284fe0a)
bneradt
pushed a commit
to bneradt/trafficserver
that referenced
this pull request
Feb 25, 2022
(cherry picked from commit 284fe0a) This just includes the doc changes so that they run via CI separately.
bneradt
pushed a commit
to bneradt/trafficserver
that referenced
this pull request
Feb 25, 2022
(cherry picked from commit 284fe0a)
bneradt
pushed a commit
to bneradt/trafficserver
that referenced
this pull request
Feb 25, 2022
(cherry picked from commit 284fe0a)
ezelkow1
pushed a commit
that referenced
this pull request
Mar 15, 2022
ezelkow1
pushed a commit
that referenced
this pull request
Mar 15, 2022
bryancall
pushed a commit
to bryancall/trafficserver
that referenced
this pull request
Mar 16, 2022
Following up on Susan's apache#8012, this patch makes the default parsing option "2", which enforces no white spaces in URL components. (cherry picked from commit 03b063a)
ezelkow1
pushed a commit
that referenced
this pull request
Mar 16, 2022
moonchen
pushed a commit
to moonchen/trafficserver
that referenced
this pull request
Jul 26, 2022
(cherry picked from commit 284fe0a) Conflicts: tests/gold_tests/headers/good_request_after_bad.test.py
moonchen
pushed a commit
to moonchen/trafficserver
that referenced
this pull request
Jul 26, 2022
Following up on Susan's apache#8012, this patch makes the default parsing option "2", which enforces no white spaces in URL components. (cherry picked from commit 03b063a)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Augments proxy.config.http.strict_uri_parsing to take three values rather than just two. Adding a mostly strict URI checking mode that will not enforce the full RFC restrictions but will ensure that white space and unprintable characters are not allowed. This restricting will be enough to detect other problems in the request line that result in odd URI's based on how ATS parses the request line.
Updates docs, unit test, and autest. Does not change the default value of proxy.config.http.strict_uri_parsing but may want to consider making 2 the default on the next major release.