]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Also escape " in regex paths.
authorMichael R Sweet <michaelrsweet@gmail.com>
Tue, 7 Mar 2017 20:46:51 +0000 (15:46 -0500)
committerMichael R Sweet <michaelrsweet@gmail.com>
Tue, 7 Mar 2017 20:46:51 +0000 (15:46 -0500)
scheduler/process.c

index cf67e74f36e6b60574ac70ece19e63f57203e3fa..27e8010f8f9440752d3188f839f45309750b038a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Process management routines for the CUPS scheduler.
  *
- * Copyright 2007-2015 by Apple Inc.
+ * Copyright 2007-2017 by Apple Inc.
  * Copyright 1997-2007 by Easy Software Products, all rights reserved.
  *
  * These coded instructions, statements, and computer programs are the
@@ -874,7 +874,7 @@ cupsd_requote(char       *dst,              /* I - Destination buffer */
     if (ch == '/' && !*src)
       break;                           /* Don't add trailing slash */
 
-    if (strchr(".?*()[]^$\\", ch))
+    if (strchr(".?*()[]^$\\\"", ch))
       *dstptr++ = '\\';
 
     *dstptr++ = (char)ch;