Access-Control-Allow-Origin error on the same site
Reported by
durancan...@gmail.com,
Jan 11 2018
|
||||||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Steps to reproduce the problem:
1. wtf is this ?
2. The code I wrote works fine with mozilla. Chrome also has an error
3. Simple using $.get or $.post
4. And i have on php file header('Access-Control-Allow-Origin: *'); but chrome still not work.
What is the expected behavior?
1. wtf is this ?
2. The code I wrote works fine with mozilla. Chrome also has an error
3. Simple using $.get or $.post
4. And i have on php file header('Access-Control-Allow-Origin: *'); but chrome still not work.
What went wrong?
1. wtf is this ?
2. The code I wrote works fine with mozilla. Chrome also has an error
3. Simple using $.get or $.post
4. And i have on php file header('Access-Control-Allow-Origin: *'); but chrome still not work.
Did this work before? N/A
Chrome version: 63.0.3239.132 Channel: stable
OS Version: 10.0
Flash Version:
,
Jan 11 2018
,
Jan 11 2018
,
Jan 12 2018
Unable to reproduce this issue on reported version 63.0.3239.132 using Windows 10, Ubuntu 14.04,Mac 10.13.1 with steps mentioned in comment#0. i.e; "No Access-Control-Allow-Origin is present" message is not seen in console of devtools. Attaching screencast for reference. @Reporter: Could you please check the video and let us know if we miss anything. This would help in further triaging of the issue. Thanks!
,
Jan 12 2018
Attaching screencast for reference.
,
Jan 16 2018
Hi, durancangames@. There's not much information in the bug report, but from the console logs you pasted, it looks like you're requesting `https://oyunkodla.com/` from `https://www.oyunkodla.com/`. Those are distinct origins, and would require the former to opt-into the request by sending appropriate CORS headers. I can't reproduce the error when loading the page myself. Have you fixed it on the server-side?
,
Jan 16 2018
,
Jan 22 2018
Closing this out due to inability to reproduce. If there's a reproduction case I should take a look at, please do ping this bug or open a new one. :) |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by vivekh...@gmail.com
, Jan 11 2018