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

CAS redirection: wrong postfix of the redirection #7365

Closed
wsw70 opened this issue Jun 29, 2017 · 0 comments · Fixed by #7471
Closed

CAS redirection: wrong postfix of the redirection #7365

wsw70 opened this issue Jun 29, 2017 · 0 comments · Fixed by #7471

Comments

@wsw70
Copy link
Contributor

wsw70 commented Jun 29, 2017

Rocket.Chat Version: 0.56.0
Running Instances: 1
DB Replicaset OpLog: Enabled
Node Version: 4.8.1

The CAS redirection URL is built from SSO Login URL by adding a ?service=.... This breaks when SSO Login URL already has a parameter (in my case the URL is https://example.com/cas/login?gateway=true).

The postfixing function should check whether no parameters exist in the base URL.

wsw70 added a commit to wsw70/Rocket.Chat that referenced this issue Jul 11, 2017
@rodrigok rodrigok added this to the 0.58.0 milestone Jul 14, 2017
rodrigok added a commit that referenced this issue Jul 14, 2017
[FIX] Issue #7365: added check for the existence of a parameter in the CAS URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants