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

            Bug ID: 66609
           Summary: invalid XML in directory listing with file names
                    containing "&" and "'"
           Product: Tomcat 8
           Version: 8.5.x-trunk
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: alexkacha...@yandex.ru
  Target Milestone: ----

similar to bug 33535: if files in a directroy contain "'" or "&" symbols,
generted XML is not valid and XSLT style sheet cannot be applied to render the
directory listing. 

Cause: DefaultServelt considers "'" as a valid character on URLEncoder.DEFAULT,
renderXML surronds attributes with ' symbol, and thus XML generated by
renderXML may contain invalid entry with url attribute like this <entry
urlPath='file's name.txt' />

-- 
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