|
|
@ -387,7 +387,7 @@ bool AbstractWebApplication::isCrossSiteRequest(const Http::Request &request) co |
|
|
|
&& (left.host() == right.host())); |
|
|
|
&& (left.host() == right.host())); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const QString targetOrigin = request.headers.value(Http::HEADER_X_FORWARDED_HOST, request.headers[Http::HEADER_HOST]); |
|
|
|
const QString targetOrigin = request.headers.value(Http::HEADER_X_FORWARDED_HOST, request.headers.value(Http::HEADER_HOST)); |
|
|
|
const QString originValue = request.headers.value(Http::HEADER_ORIGIN); |
|
|
|
const QString originValue = request.headers.value(Http::HEADER_ORIGIN); |
|
|
|
const QString refererValue = request.headers.value(Http::HEADER_REFERER); |
|
|
|
const QString refererValue = request.headers.value(Http::HEADER_REFERER); |
|
|
|
|
|
|
|
|
|
|
|