DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32302>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32302

           Summary: proppatch method doesn't escape prop values with CDATA
           Product: Slide
           Version: 2.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebDAV client
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I tried to create a property with an "&" char in the value. proppatch calls the 
XMLPrinter to prep a property element for transmission to the server but the 
writeProperty method called is not the variant that formats the value with a 
CDATA wrapper which means that chars like <, >, & etc can be included in the 
property value.

The patch I have tested in my own client config is to change the default 
operation of the writeProperty methods to wrap all property values with CDATA. 
This will not affect the actual value of the properties simply allow them to 
contain XML syntax chars like &, < and >.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to