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

CORS issue caused by URL change #4

Open
oxguy3 opened this issue Jul 11, 2020 · 0 comments
Open

CORS issue caused by URL change #4

oxguy3 opened this issue Jul 11, 2020 · 0 comments

Comments

@oxguy3
Copy link

oxguy3 commented Jul 11, 2020

This tool used to be hosted at https://tools.wmflabs.org/convert/, but has been moved to https://convert.wmflabs.org/ with a 308 redirect. This was a breaking change for any user scripts or other client-side code that uses this tool, as this causes the Origin header to be set to null, which causes this tool to respond with a 403 Forbidden error.

I've started a discussion to update the URL in SVGedit.js here: https://commons.wikimedia.org/wiki/User_talk:Rillke/SVGedit.js#Previews_broken_by_server_redirect. I'm creating this issue because I don't know what other user scripts might exist that are also broken by this change.

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

No branches or pull requests

1 participant