-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Http uri spaces 2881 v13 #8169
Http uri spaces 2881 v13 #8169
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #8169 +/- ##
==========================================
+ Coverage 81.73% 81.82% +0.09%
==========================================
Files 962 962
Lines 276975 277019 +44
==========================================
+ Hits 226379 226684 +305
+ Misses 50596 50335 -261
Flags with carried forward coverage won't be shown. Click here to find out more. |
WARNING: ERROR: QA failed on SURI_TLPR1_alerts_cmp.
Pipeline 10607 |
- Spaces are accepted in HTTP1 URIs instead of in the protocol version | ||
|
||
That is `GET /a b HTTP/1.1` gets now URI as `a b` and protocol as `HTTP/1.1` when | ||
it used to be URI as `a` and protocol as `b HTTP/1.1` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This part is a bit confusing... I think that two things could be done.
i) bring the next sentence together to the item list that starts this topic.
ii) adjust the text a bit.
Resulting in:
- Spaces are accepted in HTTP1 URIs instead of in the protocol version. That is:
`GET /a b HTTP/1.1` gets now URI as `a b` and protocol as `HTTP/1.1`. Before,
this would result in URI as `a` and protocol as `b HTTP/1.1`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uri would be /a b
not a b
(/
is part of the uri)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a suggestion in the documentation, to improve readability. :)
Replaced by #8252 |
Link to redmine ticket:
https://redmine.openinfosecfoundation.org/issues/2881
Describe changes:
Modifies #8134 with rebase
libhtp-pr: 371
suricata-verify-pr: 1004
OISF/libhtp#371
OISF/suricata-verify#1004