Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
6.6.2
-
None
Description
When axios send post to 'localhost' got CORS error as below.
Access to XMLHttpRequest at 'https://localhost:xxxx/xxxx' from origin 'https://xxxx.xxxx.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
While the same page works fine on both edge and chrome.
I already enable LocalContentCanAccessRemoteUrls.
I douted it's the problem of proxy, but seems noproxy is applied to the hosts as i want.
I add "--disable-web-security" to QTWEBENGINE_CHROMIUM_FLAGS and the error changes to net::ERR_CONNECTION_RESET 501 (Not Implemented)