-
1. Re: PathSegmentImpl incorrectly encoded when passed to REST server
csa Aug 13, 2012 12:50 PM (in response to mcasperson)Thanks, this is fixed now in the latest 2.1.0-SNAPSHOTs.
-
2. Re: PathSegmentImpl incorrectly encoded when passed to REST server
mcasperson Aug 13, 2012 5:51 PM (in response to csa)The PathSegmentImpl class now appears to incorrectly parse the PathSegment.
Given a PathSegment like:
query;tag4=1
The RESTEasy code for the PathSegmentImpl class (http://grepcode.com/file_/repository.jboss.org/nexus/content/repositories/releases/org.jboss.resteasy/resteasy-jaxrs/2.0-beta-2/org/jboss/resteasy/specimpl/PathSegmentImpl.java/?v=source) will strip off query and assign it to the path parameter, and then add tag4 and 1 to the matrixParameters.
The Errai PathSegmentImpl does not strip off the query path, and instead adds it as a variable without an associated value.
This query path then appears twice in the requested URL: first as the path (which is what you would expect), and then again as an empty variable.
-
3. Re: PathSegmentImpl incorrectly encoded when passed to REST server
csa Aug 13, 2012 6:33 PM (in response to mcasperson)Yeah that was caused by my latest fix. Should be ok now.