Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service URL Truncated on cas.py #10421

Open
ebijun opened this issue Jul 26, 2023 · 0 comments
Open

Service URL Truncated on cas.py #10421

ebijun opened this issue Jul 26, 2023 · 0 comments

Comments

@ebijun
Copy link

ebijun commented Jul 26, 2023

There is a cas issue about file or directory path contains i18n chars.
apereo/dotnet-cas-client#18

On osf.io:
https://github.com/RCOSDP/RDM-osf.io/blob/1a72c8581997904e545fd1c0d35abd30d7bc4c17/framework/auth/cas.py#L78

need encoded URL when passing the service URL.
url.args['service'] = service_url
might be
url.args['service'] = urllib.parse.quote(service_url)
to pass/back same service URL to Location header during CAS authencitaton.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants