Closed GoogleCodeExporter closed 8 years ago
I thought this would work already but I suppose not :) If you're desperate for
a work-around you can try to URL encode the string yourself and disable URL
encoding in REST Assured. Thanks for reporting!
Original comment by johan.ha...@gmail.com
on 15 Aug 2012 at 6:19
When I come to think of it I think I've solved this in a different branch once.
I discarded this branch because Jersey URL decoded the URL before it reached
the endpoint. Meaning that if you included a ? in the path it would still be
interpreted as a "standard" question mark and things would go wrong. It may be
a bug in Jersey but I thought maybe this was expected behavior. You can try it
out if you build REST Assured (without tests) from the "slash_in_path" branch.
Original comment by johan.ha...@gmail.com
on 23 Aug 2012 at 5:45
Ok so I've look into this a little bit and the reason is the ? mark. Other
chars will be url encoded. The reason is that ? is interpreted as the beginning
of the query params section.
Original comment by johan.ha...@gmail.com
on 11 Oct 2012 at 7:21
This ought to be fixed in master now. Try out version 1.8.2-SNAPSHOT after
having added on the following repo:
<repositories>
<repository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots />
</repository>
</repositories>
Original comment by johan.ha...@gmail.com
on 19 Nov 2013 at 6:58
Original issue reported on code.google.com by
alexandr...@gmail.com
on 13 Aug 2012 at 1:35