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

Problem with Regression Test (Invalid use of backslash) - Rule 960911 - Test2 #34

OrySegal opened this Issue May 23, 2013 · 1 comment


None yet
2 participants

OrySegal commented May 23, 2013

Here is the regression test:

%test Invalid HTTP Request Line (960911) - Test 2

This test uses backslashes instead of forward slashes.
%status 400|403
GET \index.html HTTP\1.0
Host: $hostname
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20060909 Firefox/
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,/;q=0.5
Keep-Alive: 300
Proxy-Connection: keep-alive

When sniffing the traffic over the wire, you will notice that the \index.html is being sent as simply "index.html" (backslash disappears), and the HTTP protocol version is sent as HTTP[\x01].0 - (\1 is sent as \x01 ASCII).

My guess is that the test needs some escaping for the backslash characters.

I ran a quick search on other tests, and none of them has a similar problem.



This comment has been minimized.

Show comment
Hide comment

rcbarnett Jul 1, 2013


Fixed in v2.2.8


rcbarnett commented Jul 1, 2013

Fixed in v2.2.8

@rcbarnett rcbarnett closed this Jul 1, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment