finish potential fix
This commit is contained in:
@@ -568,7 +568,6 @@ async function processURL(socket, request_headers) {
|
||||
var shortURL_service_path = shortURL_split.join(":");
|
||||
shortURL = shortURL_service_name + ":/" + shortURL_service_path;
|
||||
} else if (shortURL.indexOf(":") == -1 && request_headers.request.indexOf("HTTP/1") > 0 && request_headers.Host && socket.ssid == null) {
|
||||
if (request_headers.Host) {
|
||||
// PC browsers typically send a Host header
|
||||
if (minisrv_config.services.pc_services) {
|
||||
if (!minisrv_config.services.pc_services.disabled) {
|
||||
@@ -609,7 +608,6 @@ async function processURL(socket, request_headers) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!socket.minisrv_pc_mode && !socket.ssid) {
|
||||
// skip box auth tests for pc mode
|
||||
|
||||
Reference in New Issue
Block a user