Hello,

one of our application server products is sending a different default index
page back as it is used in modsecurity_50_outbound.data.
The html looks like this

<HTML><HEAD><TITLE>
Index of /TestContext/
</TITLE></HEAD><BODY>
<H1 align="left">Index of /TestContext/</H1>
...
...
</TBODY></TABLE></BODY></HTML>
so there is a newline after <TITLE>. In modsecurity_50_outbound.data there
is only a entry without the newline.
The debug log shows Target value: "<HTML><HEAD><TITLE>\nIndex of
/TestContext/  ......." so i tried to add "<TITLE>\nIndex of" or
"<TITLE>\\nIndex of" but the rule is not matching.
Does someone know whats the right syntax to match a newline within
@pmFromFile.

Thanks in Advance
Michael
_______________________________________________
Owasp-modsecurity-core-rule-set mailing list
[email protected]
https://lists.owasp.org/mailman/listinfo/owasp-modsecurity-core-rule-set

Reply via email to