Thread
:
[GUI Plugin] Search the Internet
View Single Post
08-22-2011, 04:52 PM
#
98
kovidgoyal
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Try
QUrl.fromEncoded(quote(unquote(url)))
The proper fix is to not have partially quoted URLs in the first place. Start with keeping your URLs pure strings with no quoting, and only quote them just before calling open_url.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS