sources/saml: fix redirect url dropping non-standard ports
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
2507c0eec9
commit
1041718e27
|
@ -115,7 +115,7 @@ class InitiateView(View):
|
||||||
# Encode it back into a string
|
# Encode it back into a string
|
||||||
res = ParseResult(
|
res = ParseResult(
|
||||||
scheme=sso_url.scheme,
|
scheme=sso_url.scheme,
|
||||||
netloc=sso_url.hostname or "",
|
netloc=sso_url.netloc,
|
||||||
path=sso_url.path,
|
path=sso_url.path,
|
||||||
params=sso_url.params,
|
params=sso_url.params,
|
||||||
query=urlencode(url_kwargs),
|
query=urlencode(url_kwargs),
|
||||||
|
|
Reference in New Issue