https://bz.apache.org/bugzilla/show_bug.cgi?id=57675

            Bug ID: 57675
           Summary: ExtendedAccessLogValve quoting problems
           Product: Tomcat 8
           Version: 8.0.20
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: quu...@googlemail.com

Reproduce:

<Valve className="org.apache.catalina.valves.ExtendedAccessLogValve"
directory="logs"     prefix="extended" suffix=".log" pattern="date time
cs(test)" />

Access a page with the request header test: 'alpha

Actual result:
2015-03-07 18:49:11 ''"lpha'

Expected Result:

According to my understanding of http://www.w3.org/TR/WD-logfile.html , the
result should be:
2015-03-07 18:49:11 "'alpha"
-The missing a should obviously be included
-Only double Quotes should be used
-Quotation should be done with a double quoting char

Additional: 
"The dash character must not be used as an abbreviation for an empty string."
Currently empty Strings are turned into a dash

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to