From: Source Maintenance Date: Thu, 16 Jul 2015 18:12:10 +0000 (+0000) Subject: SourceFormat Enforcement X-Git-Tag: merge-candidate-3-v1~38^2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5c6eb9893bc88a8f05e9069ba479b1d9c0b36cd9;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/url.cc b/src/url.cc index e0bf23ae26..5239991526 100644 --- a/src/url.cc +++ b/src/url.cc @@ -551,9 +551,9 @@ urlCanonicalClean(const HttpRequest * request) // URN, CONNECT method, and non-stripped URIs can go straight out if (!(request->url.getScheme() == AnyP::PROTO_URN || - !Config.onoff.strip_query_terms || - request->method == Http::METHOD_CONNECT - )) { + !Config.onoff.strip_query_terms || + request->method == Http::METHOD_CONNECT + )) { // strip anything AFTER a question-mark // leaving the '?' in place