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


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.



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