mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Fixed decoding \9 with t:escapeSeqDecode. See #423.
This commit is contained in:
parent
8aa31fd099
commit
aa68fff104
4
CHANGES
4
CHANGES
@ -1,6 +1,8 @@
|
|||||||
12 Dec 2007 - 2.5.0-rc1
|
13 Dec 2007 - 2.5.0-rc1
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
|
* Fixed t:escapeSeqDecode to better follow ANSI C escapes.
|
||||||
|
|
||||||
* Added t:jsDecode to decode JavScript escape sequences.
|
* Added t:jsDecode to decode JavScript escape sequences.
|
||||||
|
|
||||||
* Added IS_NEW and IS_EXPIRED built-in collection variables.
|
* Added IS_NEW and IS_EXPIRED built-in collection variables.
|
||||||
|
@ -1054,7 +1054,7 @@ int ansi_c_sequences_decode_inplace(unsigned char *input, int input_len) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
if (isdigit(input[i + 1])) { /* Octal. */
|
if (ISODIGIT(input[i + 1])) { /* Octal. */
|
||||||
char buf[10];
|
char buf[10];
|
||||||
int j = 0, l = 3;
|
int j = 0, l = 3;
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<title>ModSecurity Reference Manual</title>
|
<title>ModSecurity Reference Manual</title>
|
||||||
|
|
||||||
<articleinfo>
|
<articleinfo>
|
||||||
<releaseinfo>Version 2.5.0-rc1/ (December 12, 2007)</releaseinfo>
|
<releaseinfo>Version 2.5.0-rc1/ (December 13, 2007)</releaseinfo>
|
||||||
|
|
||||||
<copyright>
|
<copyright>
|
||||||
<year>2004-2007</year>
|
<year>2004-2007</year>
|
||||||
@ -5165,4 +5165,4 @@ SecRule REQUEST_METHOD "!<emphasis>@within %{tx.allowed_methods}</emphasis>" t:l
|
|||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
</article>
|
</article>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user