https://issues.apache.org/bugzilla/show_bug.cgi?id=48201
Summary: File name is incorrect when it contains "&"
Product: Apache httpd-2
Version: 2.2.14
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: mod_dav
AssignedTo: [email protected]
ReportedBy: [email protected]
I've setup apache2.2.14 on my Fedora. It servers as webdav server and works
fine at most time. I use Windows XP default webdav client to connect the
server. If the server has a file named "a&b.txt", it will only display as "a"
on my webdav client and it's not accessible.
When I look into it, I notice the root cause it the response package of
PROPFIND request. "a&b.txt" is refered to "a&b" in that package.
Then I trace into source code and it turned out it is by design in
apr_xml_quote_string to quote "&" into "&" instead of "%26".
I think there must be some reason to quote "&" like that but it really break my
usage.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]