You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Braden Shepherdson (JIRA)" <ji...@apache.org> on 2013/01/08 19:44:14 UTC

[jira] [Created] (CB-2168) HTML Escaping on iOS FileReader may be unnecessary

Braden Shepherdson created CB-2168:
--------------------------------------

             Summary: HTML Escaping on iOS FileReader may be unnecessary
                 Key: CB-2168
                 URL: https://issues.apache.org/jira/browse/CB-2168
             Project: Apache Cordova
          Issue Type: Sub-task
          Components: iOS
    Affects Versions: 2.3.0
            Reporter: Braden Shepherdson
            Assignee: Braden Shepherdson
            Priority: Minor
             Fix For: 2.4.0


The iOS FileReader's readAsText handler encodes the result with HTML percent escapes, and the iOS-specific Javascript code decodes it. This platform-specific Javascript code doesn't support slicing.

Either the encoding is there for a reason and I'll implement slicing for the iOS JS code, or we can remove the encoding and the unnecessary separate implementation. We need to know why that encoding was added in the first place.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira