]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix logformat unable to configure codes with /-escape
authorDiogenes S. Jesus <splash@gmail.com>
Wed, 24 Aug 2016 13:31:24 +0000 (01:31 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 24 Aug 2016 13:31:24 +0000 (01:31 +1200)
src/format/Token.cc

index f7b1b53d2db784170834e7e1dafff7572b00e8bb..a06c6ac3f44ea850c7fd7245ddccc1f53affbdf3 100644 (file)
@@ -343,6 +343,11 @@ Format::Token::parse(const char *def, Quoting *quoting)
             ++cur;
             break;
 
+        case '/':
+            quote = LOG_QUOTE_SHELL;
+            ++cur;
+            break;
+
         default:
             quote = *quoting;
             break;