You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Piers Haken (JIRA)" <de...@myfaces.apache.org> on 2009/02/03 20:39:59 UTC
[jira] Created: (MYFACES-2143) decodeURIComponent incorrectly
decodes '+'
decodeURIComponent incorrectly decodes '+'
------------------------------------------
Key: MYFACES-2143
URL: https://issues.apache.org/jira/browse/MYFACES-2143
Project: MyFaces Core
Issue Type: Bug
Reporter: Piers Haken
Priority: Trivial
URIComponentUtils.java, line 69 decodes '+' to ' '.
this is NOT equivalent to ECMA's decodeURIComponent function.
paste the following into your browser address bar for proof:
javascript:document.write(decodeURIComponent('a+b'));
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (MYFACES-2143) decodeURIComponent incorrectly
decodes '+'
Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-2143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711928#action_12711928 ]
Leonardo Uribe commented on MYFACES-2143:
-----------------------------------------
Where is this class on myfaces?
> decodeURIComponent incorrectly decodes '+'
> ------------------------------------------
>
> Key: MYFACES-2143
> URL: https://issues.apache.org/jira/browse/MYFACES-2143
> Project: MyFaces Core
> Issue Type: Bug
> Reporter: Piers Haken
> Priority: Trivial
>
> URIComponentUtils.java, line 69 decodes '+' to ' '.
> this is NOT equivalent to ECMA's decodeURIComponent function.
> paste the following into your browser address bar for proof:
> javascript:document.write(decodeURIComponent('a+b'));
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.