We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16bb169 commit e688b76Copy full SHA for e688b76
1 file changed
djangosaml2/utils.py
@@ -110,7 +110,8 @@ def validate_referral_url(request, url):
110
111
if not url_has_allowed_host_and_scheme(url=url, allowed_hosts=saml_allowed_hosts):
112
return get_fallback_login_redirect_url()
113
- return url
+
114
+ return urllib.parse.quote(url, safe="/")
115
116
117
def saml2_from_httpredirect_request(url):
0 commit comments