incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse MacFadyen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-838) localStorage breaks with certain characters
Date Thu, 14 Jun 2012 18:14:42 GMT

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

Jesse MacFadyen resolved CB-838.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.9.0

Commit is here:
https://github.com/purplecabbage/incubator-cordova-js/commit/f666498b0e90562d76450048401da8973fb5d70f

The following works as expected.  

window.localStorage.setItem("kim","kardashian !@#$%^&*(){}|:;<>?~'?&!\"\'");
var out = window.localStorage.getItem("kim");
console.log("output = " + out);
                
> localStorage breaks with certain characters
> -------------------------------------------
>
>                 Key: CB-838
>                 URL: https://issues.apache.org/jira/browse/CB-838
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7
>    Affects Versions: 1.7.0
>            Reporter: Kimmo Puputti
>            Assignee: Jesse MacFadyen
>             Fix For: 1.9.0
>
>
> The localStorage API seems to break with quote ( ' ) and forward slash ( / ) characters
in the value.
> This might be an issue in the native browser view, but can it be fixed in the Cordova
layer (as the iOS localStorage fix)?
> More info:
> https://groups.google.com/group/phonegap/browse_thread/thread/925ab19412d04e37?pli=1

--
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