Skip to content
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: don't decode + to space by default #620

Merged
merged 1 commit into from Nov 12, 2013

Conversation

@inliniac
Copy link
Contributor

commented Nov 12, 2013

Libhtp decodes the + character in the query string to a space by default.
Suricata rules (e.g. etpro sid 2806767) are expecting to see the space in
the http_uri buffer.

Added an option per htp config to reenable this default behavior:

query-plusspace-decode: yes

Bug #1035.

https://redmine.openinfosecfoundation.org/issues/1035
https://buildbot.suricata-ids.org/builders/inliniac/builds/44

Libhtp decodes the + character in the query string to a space by default.
Suricata rules (e.g. etpro sid 2806767) are expecting to see the space in
the http_uri buffer.

Added an option per htp config to reenable this default behavior:

    query-plusspace-decode: yes

Bug #1035.
@inliniac inliniac merged commit 9a7353e into master Nov 12, 2013
@inliniac inliniac deleted the dev-htp-plusspace branch Nov 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.