I've added a simple unit test which shows the behaviour @
Contains 1 test, which uses a ClientRequestFilter to check what the URI is,
if it contains "%2F", then it fails.
On Wed, Sep 14, 2016 at 8:01 PM, Rebecca Searls <rsearls(a)redhat.com> wrote:
If you replace RelativePath with String do you have the same issue?
What RelativePath class are you using?
----- Original Message -----
> From: "Gareth Healy" <garethahealy(a)gmail.com>
> To: resteasy(a)lists.jboss.org
> Sent: Wednesday, September 14, 2016 11:36:31 AM
> Subject: [resteasy] Client escapes slashes causing failure
> I have a client which uses the following method:
> Response getEntityHash(@PathParam("path") RelativePath path);
> The RelativePath object gets converted into a value of:
> Example full URL: /entity/t;unit-testing/e;ua2shhq9/treeHash
> When its executed, the forward slash is converted to %2F (encoded /).
> causes the call to fail. What do i need to do, to make sure its not URL
> I've tried adding @Encoded, but that has no effect.
> resteasy mailing list