]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Allow log format specifications to force quoting/escaping even if Squid
authorhno <>
Sat, 12 Jul 2003 04:32:59 +0000 (04:32 +0000)
committerhno <>
Sat, 12 Jul 2003 04:32:59 +0000 (04:32 +0000)
thinks it is not needed for the field

src/access_log.cc

index 754149fb0967eb0d43c5a1d6a2c8d6c233c3eb17..4f7fbbc321d7f33e8d2bde00c05fb44e40546547 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: access_log.cc,v 1.86 2003/07/09 14:14:58 hno Exp $
+ * $Id: access_log.cc,v 1.87 2003/07/11 22:32:59 hno Exp $
  *
  * DEBUG: section 46    Access Log
  * AUTHOR: Duane Wessels
@@ -793,7 +793,7 @@ accessLogCustom(AccessLogEntry * al, customlog * log)
         }
 
         if (out && *out) {
-            if (quote) {
+            if (quote || fmt->quote != LOG_QUOTE_NONE) {
                 char *newout = NULL;
                 int newfree = 0;