djangid / rest-assured

Automatically exported from code.google.com/p/rest-assured
0 stars 0 forks source link

% character in the URL is getting encoded even after UrlEncodingEnabled is set to false #246

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
We have a requirement in which we need to pass “%2B” instead of “+” 
character as part of URL for PUT method. As per the instructions given in Usage 
guide of Rest Assured I disabled URL encoding using 
setUrlEncodingEnabled(false) method, however even after disabling URL encoding 
I observed that % character is getting encoded to %25. I also observed that if 
“+” character is present in the URL then it is getting encoded to space 
even though URL encoding is disabled.

Please let me know if I need to follow any other method/step in order to escape 
“%” character.

What is the expected output? What do you see instead?
None of the character in the URL should be encoded after disabling URL encoding 
using setUrlEncodingEnabled(false) method

What version of the product are you using? On what operating system?
rest-assured-1.8.1 on Win 7 & Win 8

Please provide any additional information below.

Original issue reported on code.google.com by alkesh.d...@gmail.com on 19 Jun 2013 at 8:44

GoogleCodeExporter commented 8 years ago
Try the latest snapshot release 1.8.2-SNAPSHOT, it ought to be fixed there. 

<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:40