diff --git a/oauth2_provider/validators.py b/oauth2_provider/validators.py index 7f9d994..4bf3f3a 100644 --- a/oauth2_provider/validators.py +++ b/oauth2_provider/validators.py @@ -27,11 +27,11 @@ class URIValidator(URLValidator): class RedirectURIValidator(URIValidator): def __init__(self, allowed_schemes, allow_fragments=False): - super().__init__(schemes=allowed_schemes) + super(RedirectURIValidator, self).__init__(schemes=allowed_schemes) self.allow_fragments = allow_fragments def __call__(self, value): - super().__call__(value) + super(RedirectURIValidator, self).__call__(value) value = force_text(value) scheme, netloc, path, query, fragment = urlsplit(value) if fragment and not self.allow_fragments: diff --git a/setup.cfg b/setup.cfg index 496c2b3..9db366e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = geonode-oauth-toolkit -version = 1.1.4.2 +version = 1.1.4.3 description = OAuth2 Provider for Django/GeoNode author = Federico Frenguelli, Massimiliano Pippi, Alessio Fabiani author_email = synasius@gmail.com