From: wessels <> Date: Fri, 28 Nov 1997 15:14:09 +0000 (+0000) Subject: expand the combination of protcols and methods squid will accept X-Git-Tag: SQUID_3_0_PRE1~4465 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=744784f086b595cbe357aab50c63ec9e163bd3e9;p=thirdparty%2Fsquid.git expand the combination of protcols and methods squid will accept --- diff --git a/src/url.cc b/src/url.cc index 8c2e94e7eb..8c0fe01e6b 100644 --- a/src/url.cc +++ b/src/url.cc @@ -1,6 +1,6 @@ /* - * $Id: url.cc,v 1.67 1997/11/24 18:27:17 wessels Exp $ + * $Id: url.cc,v 1.68 1997/11/28 08:14:09 wessels Exp $ * * DEBUG: section 23 URL Parsing * AUTHOR: Duane Wessels @@ -398,10 +398,14 @@ urlCheckRequest(const request_t * r) rc = 1; break; case PROTO_FTP: + if (r->method == METHOD_PUT) + rc = 1; case PROTO_GOPHER: case PROTO_WAIS: if (r->method == METHOD_GET) rc = 1; + else if (r->method == METHOD_HEAD) + rc = 1; break; default: break;