You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Brian Eaton <be...@google.com> on 2009/02/27 22:45:40 UTC
Re: [jira] Updated: (SHINDIG-937) Legacy _IG_Prefs.getString/Array
methods should return unescaped prefs
This looks right to me.
On Fri, Feb 27, 2009 at 1:13 PM, John Hjelmstad (JIRA) <ji...@apache.org> wrote:
>
> [ https://issues.apache.org/jira/browse/SHINDIG-937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> John Hjelmstad updated SHINDIG-937:
> -----------------------------------
>
> Attachment: SHINDIG-937-2.patch
>
> Forgot to grant ASF license.
>
>> Legacy _IG_Prefs.getString/Array methods should return unescaped prefs
>> ----------------------------------------------------------------------
>>
>> Key: SHINDIG-937
>> URL: https://issues.apache.org/jira/browse/SHINDIG-937
>> Project: Shindig
>> Issue Type: Bug
>> Components: Javascript
>> Affects Versions: trunk
>> Reporter: John Hjelmstad
>> Fix For: trunk
>>
>> Attachments: SHINDIG-937-2.patch
>>
>>
>> The gadgets.Prefs.prototype.getString/Array methods changed the semantics of the equivalent methods in _IG_Prefs, by escaping data returned from them. This was done for sensible security reasons, but unfortunately also breaks many legacy gadgets.
>> in order to maintain functional backward compatibility, I submit the _IG_Prefs versions should return unescaped data rather than causing random breakages.
>> To be clear, this change would apply *only* to the prefs retrieved via JS, not to __UP substitution.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>