#3507: unable to correctly upload a file containing a slash ("/")
---------------------------+------------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  jonas
     Type:  defect         |       Status:  new  
 Priority:  normal         |    Milestone:       
Component:  general        |      Version:  0.9  
 Severity:  normal         |   Resolution:       
 Keywords:                 |  
---------------------------+------------------------------------------------
Comment (by eblot):

 [http://www.faqs.org/rfcs/rfc1867.html RFC1867] which documents file
 upload from an HTML form is not really clear about how to deal with
 filenames. Non-ASCII chars should be encoded, but the '`/`' and the '`:`'
 chars are pure ASCII. I did not manage to find references about this MacOS
 specific issue.

 However, I don't think the server can store a file with a filename that
 contains '`/`' characters, as I don't see how a non-Macintosh computer
 could deal with such a pathname at download time.

 The best option to preserve the client platform interoperability for now
 would be to follow the RFC1867 proposal for non-ASCII filenames: "the file
 name might be approximated".

 '`/`' and '`:`' could be replaced with a OS neutral character such as the
 underscore.

-- 
Ticket URL: <http://trac.edgewall.org/ticket/3507#comment:2>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to