incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Wong (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (CB-907) Wrong URL encoding when downloading/uploading files from/to URLs with Unicode characters in the path
Date Tue, 17 Jul 2012 08:14:34 GMT

     [ https://issues.apache.org/jira/browse/CB-907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

William Wong reopened CB-907:
-----------------------------


Thanks for fixing the UTF-8 bug. But now it broke if file name have spaces (or pre-encoded).

For example, when we download, http://dummy.org/Test%201.html it become http://dummy.org/Test%25201.html.

And if I try to download http://dummy.org/Test 1.html, it says invalid URL.

Please fix.
                
> Wrong URL encoding when downloading/uploading files from/to URLs with Unicode characters
in the path
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CB-907
>                 URL: https://issues.apache.org/jira/browse/CB-907
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.7.0
>         Environment: iOS 5 on iPad 2 and 3
>            Reporter: William Wong
>            Assignee: Shazron Abdullah
>             Fix For: 1.9.0
>
>
> 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

       

Mime
View raw message