From 9f153de48aecbd0a302c0e42ef0554602ad19192 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Tue, 19 Apr 2011 12:33:25 +1200 Subject: [PATCH] Fix: AnyP:: does not exist in 3.1 --- src/url.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/url.cc b/src/url.cc index 8300578a88..54252af9d8 100644 --- a/src/url.cc +++ b/src/url.cc @@ -326,7 +326,7 @@ urlParse(const HttpRequestMethod& method, char *url, HttpRequest *request) } // Bug 3183 sanity check: If scheme is present, host must be too. - if (protocol != AnyP::PROTO_NONE && (host == NULL || *host == '\0')) { + if (protocol != PROTO_NONE && (host == NULL || *host == '\0')) { debugs(23, DBG_IMPORTANT, "SECURITY WARNING: Missing hostname in URL '" << url << "'. see access.log for details."); return NULL; } -- 2.47.3