-
Notifications
You must be signed in to change notification settings - Fork 871
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 headers #1494
Comments
Any pointers? TIA |
So what's the problem? the double * and true? |
Yep. And the result is CORS AJAX failing. |
Sorry to push, any chance to cope with this? |
In order to fix it today and put in 1.4 can you help me to reproduce the problem? |
Sure. As I reported in the original post -- Chrome 24, Windows -- AJAX call issues OPTIONS preflight. Here are the details: Request URL:http://tvr-fs:2480/document/hypo/
Response
|
Stripped down test case: from a browser console do $.ajax({type: 'POST', url: 'http://SERVER:2480/command/hypo/sql', data: 'select * from TABLE', headers: {authorization: 'basic YWRtaW46YWRtaW4='}}) |
Excellent. Thank you! |
Sorry, can't find where github has hidden search for issues.
In my setup CORS doesn't work.
Static page at server.foo operates base at server.foo:2480.
Chrome 24 on windows.
Latest orientdb.
Preflight OPTIONS returns 204.
I uncommented the following in orientdb config:
and it serves said headers twice:
Access-Control-Allow-Origin: *, *
Access-Control-Allow-Credentials: true, true
I hope correcting them could help me advance.
What is wrong there?
The text was updated successfully, but these errors were encountered: