Bug #77802 [Com]: PHP website CORS problem

From: Date: Wed, 24 Apr 2019 08:57:50 +0000
Subject: Bug #77802 [Com]: PHP website CORS problem
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-27981@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77802&edit=1 ID: 77802 Comment by: tietew at gmail dot com Reported by: tietew at gmail dot com Summary: PHP website CORS problem Status: Assigned Type: Bug Package: Website problem PHP Version: Irrelevant Assigned To: derick Block user comment: N Private report: N New Comment: Once problem was solved. But now, a different error occurs. Access to XMLHttpRequest at 'https://www.php.net/js/search-index.php?lang=en' from origin 'https://php.net' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header has a value 'http://php.net' that is not equal to the supplied origin. Previous Comments: ------------------------------------------------------------------------ [2019-03-29 18:35:37] requinix@php.net Related To: Bug #77824 ------------------------------------------------------------------------ [2019-03-27 08:15:47] salathe@php.net Assigning to Derick since he has been leading the recent changes for the website. ------------------------------------------------------------------------ [2019-03-27 05:02:15] tietew at gmail dot com Description: ------------ --- From manual page: hhttps://www.php.net/manual/en/index.php --- Chrome 73 reported following error in dev console and incremental search does not work. Access to XMLHttpRequest at 'https://php.net/js/search-index.php?lang=en' from origin 'https://www.php.net' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request. php.net is now redirected to www.php.net, but Ajax request is still sent to php.net. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77802&edit=1

« previous php.webmaster (#27981) next »