Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs

[Bug 48201] New: File name is incorrect when it contains "&"

 

 

Apache bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

Nov 16, 2009, 12:47 AM

Post #1 of 1 (150 views)
Permalink
[Bug 48201] New: File name is incorrect when it contains "&"

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: bugs [at] httpd
ReportedBy: firebull [at] gmail


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 "&amp" 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: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd

Apache bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.