You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Jacky Wang (JIRA)" <ji...@apache.org> on 2008/08/06 09:24:44 UTC

[jira] Created: (SHINDIG-495) Escapes "st" field should use encodeURIComponent

Escapes "st" field should use encodeURIComponent
------------------------------------------------

                 Key: SHINDIG-495
                 URL: https://issues.apache.org/jira/browse/SHINDIG-495
             Project: Shindig
          Issue Type: Bug
          Components: Features (Javascript)
         Environment: No matter
            Reporter: Jacky Wang


When st field includes "+", which is very common, the current js code will attach it  unchanged as the query parameter of jsonBatch servlet.

However, the char "+" will be parsed as " " in the server side.

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


[jira] Updated: (SHINDIG-495) Escapes "st" field should use encodeURIComponent

Posted by "Jacky Wang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacky Wang updated SHINDIG-495:
-------------------------------

    Attachment: fix-javascript-securitytoken-encode-bug.patch

change escape to encodeURIComponent.

> Escapes "st" field should use encodeURIComponent
> ------------------------------------------------
>
>                 Key: SHINDIG-495
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-495
>             Project: Shindig
>          Issue Type: Bug
>          Components: Features (Javascript)
>         Environment: No matter
>            Reporter: Jacky Wang
>         Attachments: fix-javascript-securitytoken-encode-bug.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> When st field includes "+", which is very common, the current js code will attach it  unchanged as the query parameter of jsonBatch servlet.
> However, the char "+" will be parsed as " " in the server side.

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


[jira] Resolved: (SHINDIG-495) Escapes "st" field should use encodeURIComponent

Posted by "Cassie Doll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cassie Doll resolved SHINDIG-495.
---------------------------------

    Resolution: Fixed
      Assignee: Cassie Doll

> Escapes "st" field should use encodeURIComponent
> ------------------------------------------------
>
>                 Key: SHINDIG-495
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-495
>             Project: Shindig
>          Issue Type: Bug
>          Components: Features (Javascript)
>         Environment: No matter
>            Reporter: Jacky Wang
>            Assignee: Cassie Doll
>         Attachments: fix-javascript-securitytoken-encode-bug.patch
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> When st field includes "+", which is very common, the current js code will attach it  unchanged as the query parameter of jsonBatch servlet.
> However, the char "+" will be parsed as " " in the server side.

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