Disable automatic Encode URL
-
ок.
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 ((((
-
=))))
self.browser.load(QUrl(self.lineedit.text()))
self.lineedit.text() = http://pastebin.com/M0nii3vZ
-
Do you craeate a "QUrl":http://doc.qt.nokia.com/4.7/qurl.html on your own? If so, you should use static "fromEncoded() ":http://doc.qt.nokia.com/4.7/qurl.html#fromEncoded method.
-
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?