You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2015/03/07 20:18:32 UTC

[Bug 57675] New: ExtendedAccessLogValve quoting problems

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: quurks@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 57675] ExtendedAccessLogValve quoting problems

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57675

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Catalina                    |Catalina
            Version|8.0.20                      |unspecified
            Product|Tomcat 8                    |Tomcat 6

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Thanks for the report.

This has been fixed for trunk, 8.0.x (for 8.0.21 onwards), 7.0.x (for 7.0.60
onwards) and proposed for 6.0.x.

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

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


[Bug 57675] ExtendedAccessLogValve quoting problems

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57675

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
Fixed in 6.0.x for 6.0.44 onwards.

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

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