incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kimmo Puputti (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-838) localStorage breaks with certain characters
Date Wed, 30 May 2012 09:16:23 GMT

    [ https://issues.apache.org/jira/browse/CB-838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285523#comment-13285523
] 

Kimmo Puputti commented on CB-838:
----------------------------------

I added a client side base64 encoding option to the example app, and it seemed to fix the
problems:

https://github.com/kpuputti/cordova-localstorage-experiment/blob/master/store.js#L60

Any possibility of fixing this in the container?
                
> 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
>
> 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