Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: Query string value with %20

$
0
0
Hello,
I am sending to my http handler the following request (with Fiddler)

http://localhost:8080/test?Text=J%27ai%20besoin%20de%20trouver%20un%20personnage%20%C3%A9trange

In my code (version 2.0.0) I just print out the query:
void TestHttpListener::handle_get(web::http::http_request request)
{
    std::wcout << request.relative_uri().query() << std::endl;
}
This is what I get:

Text=J%2527ai%2520besoin%2520de%2520trouver%2520un%2520personnage%2520%25C3%25A9trange

The %20 gets converted in %2520.

Do I miss anything?

Thanks,
Pedro

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>