incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-907) Wrong URL encoding when downloading/uploading files from/to URLs with Unicode characters in the path
Date Fri, 15 Jun 2012 19:39:43 GMT

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

Shazron Abdullah resolved CB-907.
---------------------------------

    Resolution: Fixed

Fix commit - http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/f97d4616

the jQuery.ajax call is an external issue (look at the .ajax docs, perhaps you need to set
a content type) and should be filed with jQuery.
                
> 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