Bug #64174 [NEW]: AJAX request blocked for bad origin
| From: | php dot net at dzubak dot sk | Date: | Fri, 08 Feb 2013 16:02:42 +0000 |
| Subject: | Bug #64174 [NEW]: AJAX request blocked for bad origin | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-15446@lists.php.net to get a copy of this message | ||
From: php dot net at dzubak dot sk
Operating system:
PHP version: Irrelevant
Package: Website problem
Bug Type: Bug
Bug description:AJAX request blocked for bad origin
Description:
------------
I wanted to vote for comment, but i recieved this nice red X icon. So i
investigated and i found error in Chrome console:
XMLHttpRequest cannot load http://www.php.net/manual/vote-note.php?
id=13494&page=function.setlocale&vote=up. Origin http://php.net
is not
allowed by
Access-Control-Allow-Origin.
So, I was using *php.net* domain, but there is this Origin thing blocking
AJAX
request from domains other than *WWW.php.net*.
--
Edit bug report at https://bugs.php.net/bug.php?id=64174&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64174&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64174&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64174&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=64174&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=64174&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64174&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=64174&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=64174&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=64174&r=support
Expected behavior: https://bugs.php.net/fix.php?id=64174&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=64174&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=64174&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=64174&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64174&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=64174&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=64174&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=64174&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64174&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64174&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=64174&r=mysqlcfg