]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Allow -S option to contain quotes.
authorBen Laurie <ben@apache.org>
Thu, 31 Jan 2002 13:34:33 +0000 (13:34 +0000)
committerBen Laurie <ben@apache.org>
Thu, 31 Jan 2002 13:34:33 +0000 (13:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@93127 13f79535-47bb-0310-9956-ffa450edef68

src/CHANGES
src/support/apxs.pl

index 1e27194c2cb471180c710bc0ed1a376de7410b8a..74282654806c3fda1da724590763dc9e6e86be0f 100644 (file)
@@ -1,5 +1,8 @@
 Changes with Apache 1.3.24
 
+  *) apxs: fix bug that prevented -S option from containing quotes.
+     [Ben Laurie]
+
   *) ftp proxy: various cosmetic and functional improvements
      - Allow for /%2f hack (to access the root directory / )
      - properly escape generated links in dir listing
index e5e5ada1b0aae391d661889f3c258c214f037dcc..bfd8e45801a04d31c433acd54be1a2afeff75cbd 100644 (file)
@@ -211,6 +211,7 @@ if (@opt_S) {
                 print STDERR "apxs:Error: no config variable $var\n";
                 &usage;
             }
+           $val=~s/"/\\"/g;
             eval "\$CFG_${var}=\"${val}\"";
         } else {
             print STDERR "apxs:Error: malformatted -S option\n";