Skip to content

Fix get_proxy_url adding unnecessary '/'#41

Merged
mingchen merged 1 commit intopython-cas:masterfrom
seayjohnny:master
Sep 29, 2021
Merged

Fix get_proxy_url adding unnecessary '/'#41
mingchen merged 1 commit intopython-cas:masterfrom
seayjohnny:master

Conversation

@seayjohnny
Copy link
Contributor

The CASClientBase.get_proxy_url() method adds an unnecessary '/' when building the proxy URL. Assuming my CAS server URL is http://127.0.0.1:8000/cas/, the CASClientBase.get_proxy_url() method will return http://127.0.0.1:8000/cas//proxy?pgt=...&targetService=... instead of http://127.0.0.1:8000/cas/proxy?pgt=...&targetService=.... This merge fixes this.

@mingchen
Copy link
Contributor

Thanks for contribution. Please also fix test.

@mingchen mingchen merged commit e760aa2 into python-cas:master Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants