William Wong created CB-907:
-------------------------------
Summary: Wrong URL encoding when downloading files with Unicode
characters
Key: CB-907
URL: https://issues.apache.org/jira/browse/CB-907
Project: Apache Cordova
Issue Type: Bug
Components: iOS
Affects Versions: 1.8.0
Environment: iOS 5 on iPad 2 and 3
Reporter: William Wong
Assignee: Shazron Abdullah
Repro:
- Download files thru either FileTransfer.download or jQuery.ajax, with Unicode
characters in the URL
-- e.g. $.ajax('http://dummy.org/中文名.txt');
Expect:
- It will download http://dummy.org/%E4%B8%AD%E6%96%87%E5%90%8D.txt
Actual:
- It downloads
http://dummy.org/%C3%A4%C2%B8%C2%AD%C3%A6%E2%80%93%E2%80%A1%C3%A5%C2%90%C2%8D.txt
I tested it on Mobile Safari and the URL encoding done is correct.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira