From: Ben Laurie Date: Thu, 31 Jan 2002 13:34:33 +0000 (+0000) Subject: Allow -S option to contain quotes. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b94c774d2c8c5b15a2b4451ebae5c39817e8d19e;p=thirdparty%2Fapache%2Fhttpd.git Allow -S option to contain quotes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@93127 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/CHANGES b/src/CHANGES index 1e27194c2cb..74282654806 100644 --- a/src/CHANGES +++ b/src/CHANGES @@ -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 diff --git a/src/support/apxs.pl b/src/support/apxs.pl index e5e5ada1b0a..bfd8e45801a 100644 --- a/src/support/apxs.pl +++ b/src/support/apxs.pl @@ -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";