Disable automatic Encode URL
when i set encoded url with percent % :
webkit make double encode this url
Can i disable this Feature ?
dont talk me about qt is automatic - when i get BAN from yandex - yandex redirect me in Captcha Page - and webkit encode this url too and i get 404 error .
Where are you setting that url? Can you pastebin a snippet?
http://pastebin.com/M0nii3vZ - this url i need to load
http://pastebin.com/GPMk3Nun - this load ( double encode ) ((((
i think, that i can disable autoencode feature in settings, but i cant found this ((((
Can you paste your code? My crystall ball is out of service.
self.lineedit.text() = http://pastebin.com/M0nii3vZ
in yandex i see in search string double encoded phrase ((((
Can i catch redirect ? and rewrite url ( i deEncode url) ??
A redirect URL should be handled and decoded correctly internally.
when i connect to event downloadFinished, i see that url is double encoded, and redirect not work ((( -
can i connect to another event, catch redirect, correct url and continue request ?
Are you sure the URL sent from the server is correct? Sounds like it is double encoded on that side. I never heard of any problems with redirection and webkit.
when redirect to another url and url has "%" webkit do encode and i get double encode ( yandex. say me 404 error ) ((((
when i get ban i post this url.
Provide us a short, complete, compilable and working example app that demonstrates the bug. We'll have a look into it.
It does not help posting the URL here.
ok. now i do this -
- self.connect(self.page().networkAccessManager(), QtCore.SIGNAL("finished( QNetworkReply *)"), self.finishedURL)
- on finishedURL:
oRedirect = oRequest.attribute(QNetworkRequest.RedirectionTargetAttribute).toUrl( )
if not oRedirect.isEmpty( ):
sUrl = str(oRedirect.toString( ))
url processing and get captha image ....
now i cant get ban (((( - all ip is un-ban ))))
[EDIT: code formatting, Volker]
I got the same issue - all clicked urls in QtWebKit object that contains percent (%) are broken in Qt WebKit, but works well on Rekonq browser (that use webkit).
As I see, QtWebKit replace in url all percent symbols to % construction and broke the url.
Koshak01, did you solve this problem?