kit393 / apachelog

Automatically exported from code.google.com/p/apachelog
0 stars 0 forks source link

Does not handle \x escapes #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The apache 2.2 documentation states: "For security reasons, starting with 
version 2.0.46, non-printable and other special characters in %r, %i and %o are 
escaped using \xhh sequences, where hh stands for the hexadecimal 
representation of the raw byte. Exceptions from this rule are " and \, which 
are escaped by prepending a backslash, and all whitespace characters, which are 
written in their C-style notation (\n, \t, etc). In versions prior to 2.0.46, 
no escaping was performed on these strings so you had to be quite careful when 
dealing with raw log files."

I could not see any handling of this situation.

Original issue reported on code.google.com by andrew.p...@247realmedia.com on 29 Mar 2011 at 1:27