mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
UTF-8 encode url that is used in urllib.quote_plus(url) to ensure unicode charachters don't cause a key error
This commit is contained in:
parent
4db476b2da
commit
293c10429c
@ -504,7 +504,7 @@ class ProviderProxy:
|
|||||||
def _buildURL(self, url):
|
def _buildURL(self, url):
|
||||||
""" Return the Proxyfied URL of the page """
|
""" Return the Proxyfied URL of the page """
|
||||||
if self.isEnabled():
|
if self.isEnabled():
|
||||||
url = self.getProxyURL() + self.param + urllib.quote_plus(url) + self.option
|
url = self.getProxyURL() + self.param + urllib.quote_plus(url.encode('UTF-8')) + self.option
|
||||||
logger.log(u"Proxified URL: " + url, logger.DEBUG)
|
logger.log(u"Proxified URL: " + url, logger.DEBUG)
|
||||||
|
|
||||||
return url
|
return url
|
||||||
|
Loading…
Reference in New Issue
Block a user