Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

'/' redirect check isn't enough. #228

Closed
sdier opened this issue Mar 26, 2016 · 1 comment
Closed

'/' redirect check isn't enough. #228

sdier opened this issue Mar 26, 2016 · 1 comment
Assignees
Labels

Comments

@sdier
Copy link

sdier commented Mar 26, 2016

'//foo.com/foo' is a valid url, so the redirect check at oauthproxy.go:479 is not sufficient for its intent.

Since I'm using this hole to redirect to other domains within a set of subdomains -- it would be cool if this was somehow preserved so I can have a partially open redirect. (I'm using an 'auth' domain and redirect to it from other domains and then redirect back while using the nginx aut -- I plan on writing up the configuration soon for others to use.)

@rcoup
Copy link

rcoup commented May 31, 2016

@sdier can you share the config briefly?

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

3 participants