Skip to content

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

Merged
Gargron merged 1 commit intomastodon:masterfrom
ClearlyClaire:fixes/cors-redirect
Dec 10, 2018
Merged

Use same CORS policy for /@:username and /users/:username#9485
Gargron merged 1 commit intomastodon:masterfrom
ClearlyClaire:fixes/cors-redirect

Conversation

@ClearlyClaire
Copy link
Copy Markdown
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