Forum

Found broken logs due to "" from user agent

commandline.be
31 December 2018, 21:44
While learning some R and using it to parse logs i ran into an issue. This appeared to be due to two log lines for which the user-agent was somehow suited with a " at start and a " at end. Since these fields are quoted in the logs this was written to log as

""Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.20.25 (KHTML, like Gecko) Version/5.0.4 Safari/533.20.27"

twice from the same ip.

I hoped reporting this adequate for a review of potential for this to reoccur.
This topic has been closed.