potential fix for pcservices issue
This commit is contained in:
@@ -567,7 +567,7 @@ async function processURL(socket, request_headers) {
|
||||
shortURL_split.shift();
|
||||
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 && socket.ssid == null) {
|
||||
} 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) {
|
||||
|
||||
Reference in New Issue
Block a user