Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
CORS not working with Client4 #557
CORS seem to fail with
Steps to reproduce
Try to call
Getting the results from the server.
A simple test posted here:
referenced this issue
Jul 3, 2018
I can reproduce this:
At this point, I created an
It turns out that mattermost-server isn't actually returning
What I can't actually explain, now, is why the bare
So it wouldn't work anyway. Given that the
You'll probably need to front your local assets behind /something/ serving them up on localhost, e.g. as rudimentary as described:
@lieut-data I have changed the setting from
@lieut-data here you go:
I'd imagine the soonest we can evaluate a fix for this would be Mattermost 5.2, scheduled for August 16th.
Are you running against a stock Mattermost install or a development instance? It's easy enough to make the change locally if you're iterating on development -- let me know if I can help with that. I've marked this as a security ticket (not in a bug sense but a feature sense), and hope to have the team make a decision on the best default behaviour for all customers going forward.