Skip to content

Commit 87be05b

Browse files
committed
Use .path instead of an indexed member
Signed-off-by: Ivan Kanakarakis <[email protected]>
1 parent 33fca0f commit 87be05b

File tree

1 file changed

+1
-1
lines changed
  • src/saml2/s2repoze/plugins

1 file changed

+1
-1
lines changed

src/saml2/s2repoze/plugins/sp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def __init__(
102102
self.discosrv = discovery
103103
self.idp_query_param = idp_query_param
104104
self.logout_endpoints = [
105-
parse.urlparse(ep)[2] for ep in config.endpoint("single_logout_service")
105+
parse.urlparse(ep).path for ep in config.endpoint("single_logout_service")
106106
]
107107
try:
108108
self.metadata = self.conf.metadata

0 commit comments

Comments
 (0)