shindig-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jasvir Nagra (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SHINDIG-1293) Issue taming gadgets.io.encodeValues
Date Wed, 24 Feb 2010 18:45:27 GMT

    [ https://issues.apache.org/jira/browse/SHINDIG-1293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837944#action_12837944
] 

Jasvir Nagra commented on SHINDIG-1293:
---------------------------------------

If someone can point me at where in Shindig features get concatenated and minified, I'd be
happy to produce a more general patch that applies the innocent code transformer on all such
for..in loops.

> Issue taming gadgets.io.encodeValues
> ------------------------------------
>
>                 Key: SHINDIG-1293
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1293
>             Project: Shindig
>          Issue Type: Bug
>            Reporter: Chirag Shah
>             Fix For: 1.1-BETA6
>
>         Attachments: SHINDIG-1293.patch.diff
>
>
> gadgets.io.encodeValues appends the following string to its response: "FROZEN___=%5Bobject%20Object%5D&TAMED_TWIN___=%5Bobject%20Object%5D"
> Here's a sample application that exhibits this behavior:
> <?xml version="1.0" encoding="UTF-8"?>
> <Module>
>  <ModulePrefs title="test">
>  <Require feature="caja"/>
>  </ModulePrefs>
>  <Content type="html">
> <![CDATA[
> <div id="test"></div>
> <script>
>     var postdata = {};
>     postdata = gadgets.io.encodeValues(postdata);
>     document.getElementById('test').innerHTML = postdata;
> </script>  
> ]]>
>   </Content>
> </Module>
> We're seeing this in the latest version of Shindig.
> Here is the cajoler information:
>       'cajolerName': 'com.google.caja',
>       'cajolerVersion': '3948:3950',
>       'cajoledDate': 1264020785928

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message