Forum Discussion

gordillo_ramon's avatar
gordillo_ramon
Contributor
13 years ago

UTF-8 double encoding in URL for REST resources

Hi.

I set up a REST project with a test case for calling the server. The resource URL has a parameter that needs to be encoded (te:+44...), but I get a surprise when I saw the url like "tel%253A%252B447309700001" instead of the expected "tel%3A%2B447309700001". Attached the screenshot where you see that the url over the request is correctly encoded, but the url in the post is "double" encoded (the "%" has been encoded again).

Can you confirm if there is a bug related with double encoding in REST urls?

Many thanks.

Ramon