[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-3992) SEAM RestEasy library throws exception if an encoded url is entered/

Christian Bauer (JIRA) jira-events at lists.jboss.org
Mon Mar 16 17:26:47 EDT 2009

     [ https://jira.jboss.org/jira/browse/JBSEAM-3992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Bauer closed JBSEAM-3992.

    Fix Version/s: 2.1.2.CR1
       Resolution: Done


> SEAM RestEasy library throws exception if an encoded url is entered/
> --------------------------------------------------------------------
>                 Key: JBSEAM-3992
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3992
>             Project: Seam
>          Issue Type: Bug
>          Components: WS
>    Affects Versions: 2.1.1.GA
>         Environment: Tomcat with SEAM 2.1.1.GA and resteasy
>            Reporter: John Sublette
>            Priority: Minor
>             Fix For: 2.1.2.CR1
> Call from org.jboss.seam.resteasy.ResteasyResourceAdapter.??.process() to UriInfoImpl(URI absolutePath, String encodedPath, String queryString, List<PathSegment> encodedPathSegments) requires an encodedPath passed in, which is not being done.  A StringIndexOutOfBoundsException is thrown due to the "encodedPath" not being found in the absolute path.
> Code that sets "path" can be moved after the setup of absolutePath and changed to:
>                     String path = PathHelper.getEncodedPathInfo(absolutePath.getRawPath(), request.getContextPath());

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list