Open GoogleCodeExporter opened 9 years ago
This problem seems to occur in other fields as well. I have run across mobile
user-agents with escaped double quotes \" that also throw an error.
Here is an example:
Unable to parse: www.example.com 119.30.38.61 - - [07/Mar/2012:03:28:32 +0000]
"GET /some-url HTTP/1.1" 200 239 "-" "Nokia6151/2.0 (04.10) Profile/MIDP-2.0
Configuration/CLDC-1.1x-wap-profile:
\"http://nds1.nds.nokia.com/uaprof/N6151r400.xml\"" with the ^(\S*) (\S*) (\S*)
(\S*) (\[[^\]]+\]) \"([^"\\]*(?:\\.[^"\\]*)*)\" (\S*) (\S*)
\"([^"\\]*(?:\\.[^"\\]*)*)\" \"([^\"]*)\"$ regular expression
Original comment by jfxbe...@gmail.com
on 8 Mar 2012 at 1:53
Ahhh... Issue #5 has a patch for user-agent with escaped double-quotes:
http://code.google.com/p/apachelog/issues/detail?id=5
Original comment by jfxbe...@gmail.com
on 8 Mar 2012 at 2:01
Original issue reported on code.google.com by
julien.r...@gmail.com
on 31 Mar 2011 at 7:08