What steps will reproduce the problem?
1. Parse a log file and embed an escaped double quote (\") inside the
User-Agent. Some User-Agents are wrapped in double quotes which Apache
automatically escapes.
What is the expected output? What do you see instead?
The regex should just work. Reading the code, it looks like this should work.
What version of the product are you using? On what operating system?
Python 2.5, Mac OS X 10.5, apachelog 1.1.
Please provide any additional information below.
It's all because User-Agent was misspelled. It causes the code to use the
wrong regular expression. I've created a patch and updated the tests:
Original issue reported on code.google.com by jji...@gmail.com on 2 Jun 2008 at 10:24
Original issue reported on code.google.com by
jji...@gmail.com
on 2 Jun 2008 at 10:24Attachments: