View Full Version : Qt vc Qurl and encoding (%2B vs + / space )

14th July 2011, 15:15
I get encoded url which I have to pass back to the server to get some info.

The point is that sometimes in the url I have %2B which is a + sign and that is fine passing %2B the server should see a "+", but whatever I pass to the url the serve see that as a SPACE.

Tried doing some combinations using QUrl::addEncodedQueryItem and QUrl::addQueryItem, tried replacing signs from %2B to + and + to %2B. None is working.Server see it as a SPACE;

When I pass this url to the Browser, FF, CHROME its fine, even works in Konqueror which is QT base.

Any ideas ?