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

Use same CORS policy for /@:username and /users/:username #9485

Merged
merged 1 commit into from
Dec 10, 2018

Conversation

ClearlyClaire
Copy link
Contributor

Fixes #8189

rack-cors being called before the application router, it does not follow
the redirection, and we need a separate rule for /users/:username.

Fixes mastodon#8189

rack-cors being called before the application router, it does not follow
the redirection, and we need a separate rule for /users/:username.
@Gargron Gargron merged commit 3f12c07 into mastodon:master Dec 10, 2018
@ClearlyClaire ClearlyClaire deleted the fixes/cors-redirect branch March 14, 2019 15:57
hiyuki2578 pushed a commit to ProjectMyosotis/mastodon that referenced this pull request Oct 2, 2019
)

Fixes mastodon#8189

rack-cors being called before the application router, it does not follow
the redirection, and we need a separate rule for /users/:username.
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.

3 participants