From ce4a873e381c00653ddd8c0e539f5649139c85ab Mon Sep 17 00:00:00 2001 From: Jason Lawrence Date: Wed, 28 Aug 2019 13:17:52 -0500 Subject: [PATCH] Fix incorrect encoding of callback URL --- plexauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexauth.py b/plexauth.py index af12925..90083ca 100755 --- a/plexauth.py +++ b/plexauth.py @@ -36,7 +36,7 @@ def auth_url(self, forward_url=None): 'code': self._code, } if forward_url: - parameters['forwardUrl'] = urllib.parse.urlencode(forward_url) + parameters['forwardUrl'] = forward_url url = AUTH_URL.format(urllib.parse.urlencode(parameters)) return url