You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2012/05/16 08:36:09 UTC

[jira] [Commented] (TOBAGO-1132) Ajax requests fail if the response contains a backslash character '\'

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

Udo Schnurpfeil commented on TOBAGO-1132:
-----------------------------------------

The JSON parser of Firefox breaks in that case, because the backslash is not correctly escaped.
In IE the AJAX doesn't fail, because the jQuery JSON parser will be used, but the backslashes are gone.
                
> Ajax requests fail if the response contains a backslash character '\'
> ---------------------------------------------------------------------
>
>                 Key: TOBAGO-1132
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1132
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.5.5
>            Reporter: Ralph Jacobs
>            Assignee: Udo Schnurpfeil
>
> tc:tabGroup with switchType="reloadTab" and tc:tab components including their content:
> <tc:tabGroup id="tabs" switchType="reloadTab">
> 	<tc:tab label="Tab 1">
> 		<ui:include src="/include/tab1.xhtml" />
> 	</tc:tab>
> 	...
> </tc:tabGroup>
> If the content of the tab's page contains a backslash character the Ajax request fails.

--
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