File: 69-bug-false-url-encoding-validation.test

package info (click to toggle)
libapache-mod-security 1.8.7-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,132 kB
  • ctags: 664
  • sloc: ansic: 7,641; perl: 199; makefile: 59; sh: 44
file content (18 lines) | stat: -rw-r--r-- 513 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 69 bug false url encoding valudation test (requires 200)
#
# I was attempting to URL-decode multipart/form-data
# variables although they are not URL-encoded
#
POST /cgi-bin/modsec-test.pl HTTP/1.1
Content-Type: multipart/form-data; boundary=00000000000000000000000000000000
Content-Length: 215

--00000000000000000000000000000000
Content-Disposition: form-data; name="p"

000%XX00
--00000000000000000000000000000000
Content-Disposition: form-data; name="q"

000000
--00000000000000000000000000000000--