diff options
| author | Cajus Pollmeier <pollmeier@gonicus.de> | 2023-03-31 14:26:09 +0200 |
|---|---|---|
| committer | Cajus Pollmeier <pollmeier@gonicus.de> | 2023-04-04 13:41:06 +0200 |
| commit | 59466abc080419465606240a02d333aac9b712ce (patch) | |
| tree | 9fd8ed803cc1e9cbeeefe8b64aa141ae8db71e0c /src/gui/platform/unix/qgenericunixservices.cpp | |
| parent | da2b0307f8dd563be5874cabe3290c073365f761 (diff) | |
Fix default "credential" flag for WASM HTTP connections
In some cases, you might want to set the "credentials" flag for HTTP
requests. But you can't use it everywhere, because it may break the
use of public APIs. As a result, you're running into
Reason: Credential is not supported if the CORS header
'Access-Control-Allow-Origin' is '*'
on the client side. See
https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSNotSupportingCredentials
for details.
This commit restores the former default "false", in order to make
WASM connections that worked prior 6.5 work again.
Fixes: QTBUG-112478
Pick-to: 6.5
Change-Id: I46f6a374c07038608c3484ac831a1dc5999fb120
Reviewed-by: MikoĊaj Boc <Mikolaj.Boc@qt.io>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/gui/platform/unix/qgenericunixservices.cpp')
0 files changed, 0 insertions, 0 deletions
