<div dir="ltr">I&#39;ve added a simple unit test which shows the behaviour @ <a href="https://github.com/garethahealy/resteast-pathparam-escape">https://github.com/garethahealy/resteast-pathparam-escape</a><div><br></div><div>Contains 1 test, which uses a ClientRequestFilter to check what the URI is, if it contains &quot;%2F&quot;, then it fails.</div><div><br></div><div>Cheers.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 14, 2016 at 8:01 PM, Rebecca Searls <span dir="ltr">&lt;<a href="mailto:rsearls@redhat.com" target="_blank">rsearls@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
If you replace RelativePath with String do you have the same issue?<br>
What RelativePath class are you using?<br>
<div><div class="h5"><br>
----- Original Message -----<br>
&gt; From: &quot;Gareth Healy&quot; &lt;<a href="mailto:garethahealy@gmail.com">garethahealy@gmail.com</a>&gt;<br>
&gt; To: <a href="mailto:resteasy@lists.jboss.org">resteasy@lists.jboss.org</a><br>
&gt; Sent: Wednesday, September 14, 2016 11:36:31 AM<br>
&gt; Subject: [resteasy] Client escapes slashes causing failure<br>
&gt;<br>
&gt; I have a client which uses the following method:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; @GET<br>
&gt; @Path(&quot;/{path}/treeHash&quot;)<br>
&gt; Response getEntityHash(@PathParam(&quot;<wbr>path&quot;) RelativePath path);<br>
&gt;<br>
&gt; The RelativePath object gets converted into a value of:<br>
&gt; t;unit-testing/e;ua2shhq9<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Example full URL: /entity/t;unit-testing/e;<wbr>ua2shhq9/treeHash<br>
&gt;<br>
&gt; When its executed, the forward slash is converted to %2F (encoded /). This<br>
&gt; causes the call to fail. What do i need to do, to make sure its not URL<br>
&gt; encoded?<br>
&gt;<br>
&gt; I&#39;ve tried adding @Encoded, but that has no effect.<br>
&gt;<br>
&gt; Cheers.<br>
&gt;<br>
</div></div>&gt; ______________________________<wbr>_________________<br>
&gt; resteasy mailing list<br>
&gt; <a href="mailto:resteasy@lists.jboss.org">resteasy@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/resteasy" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/resteasy</a><br>
&gt;<br>
</blockquote></div><br></div>