try fix basic auth realm missing quote

This commit is contained in:
Marc Szymkowiak
2023-02-20 19:47:47 +01:00
committed by Thilo Graf
parent 73086ffcf3
commit 6a4d3e0f17

View File

@@ -280,7 +280,7 @@ std::string CyhookHandler::BuildHeader(bool cache) {
switch (httpStatus) {
case HTTP_UNAUTHORIZED:
result += "WWW-Authenticate: Basic realm=\"";
result += AUTH_NAME_MSG "\r\n";
result += AUTH_NAME_MSG "\"\r\n";
break;
case HTTP_MOVED_TEMPORARILY: