5 comment => "pdf-xss - GET",
8 SecDebugLog $ENV{DEBUG_LOG}
12 SecPdfProtectMethod TokenRedirection
13 SecPdfProtectSecret FooBar
14 SecPdfProtectTimeout 10
17 debug => [ qr/PdfProtect: PDF request without a token - redirecting to/, 1 ],
22 request => new HTTP::Request(
23 GET => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.pdf",
28 comment => "pdf-xss - POST",
31 SecDebugLog $ENV{DEBUG_LOG}
35 SecPdfProtectMethod TokenRedirection
36 SecPdfProtectSecret FooBar
37 SecPdfProtectTimeout 10
40 -error => [ qr/exit signal/, 1 ],
41 debug => [ qr/PdfProtect: Not intercepting.*method=POST\/2/, 1 ],
46 request => new HTTP::Request(
47 POST => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.pdf",
49 "Content-Type" => "application/x-www-form-urlencoded",