fix bug introduced in @3dbb258b8fbf33eb464dc173b927b919e7f62edc that broke http(s)
This commit is contained in:
@@ -781,7 +781,7 @@ minisrv-no-mail-count: true`;
|
|||||||
else console.log(" * " + ((ssl) ? "SSL " : "") + "PC request on service " + original_service_name + " (Service Vault " + service_name + ") for " + request_headers.request_url, 'on', socket.id);
|
else console.log(" * " + ((ssl) ? "SSL " : "") + "PC request on service " + original_service_name + " (Service Vault " + service_name + ") for " + request_headers.request_url, 'on', socket.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (shortURL.indexOf(':/') >= 0) {
|
if ((shortURL.indexOf(':/') >= 0) && (shortURL.indexOf('://') == -1 || (shortURL.indexOf('://') && (shortURL.startsWith("irc") || shortURL.startsWith("wtvchat"))))) {
|
||||||
var ssid = socket.ssid;
|
var ssid = socket.ssid;
|
||||||
if (ssid == null) {
|
if (ssid == null) {
|
||||||
// prevent possible injection attacks via malformed SSID and filesystem SessionStore
|
// prevent possible injection attacks via malformed SSID and filesystem SessionStore
|
||||||
|
|||||||
Reference in New Issue
Block a user