pottenmak - 2009-03-09

Hi,

A uaquot like this one doesn’t work when using
LogFormat="%host %other %logname %time1 %methodurl %code %bytesd %refererquot %uaquot %extra1"

192.168.0.101 - - [06/Mar/2009:17:09:39 +0100] "GET /images/btn_level3d.png HTTP/1.1" 200 2788 "http://www.be/index.xhtml?id=1264" "Opera/9.50 (Linux i686 ; U; CE-HTML/1.0 (<profilelist><ui_profile name=\&quot;PHILIPS_OLS_2008\&quot;/></profilelist>); en)" www.be

A quick fix on awstats.pl, line 8725 is :

$PerlParsingFormat .= "\\&quot;([^\\&quot;]*)\\&quot;"; # ua might be ""

$PerlParsingFormat .= "\\&quot;((\\\&quot;|[^\\&quot;])*)\\&quot;"; # ua might be ""

Anton.