]
Christian Bauer closed JBSEAM-3992.
-----------------------------------
Fix Version/s: 2.1.2.CR1
Resolution: Done
Fixed
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: