summaryrefslogtreecommitdiff
path: root/www/ap-perl
diff options
context:
space:
mode:
authortv <tv>1998-12-07 16:36:15 +0000
committertv <tv>1998-12-07 16:36:15 +0000
commit8ec3ce100d7abfefa90b2e6800c0bc4a3ae9cb21 (patch)
tree25f7c94b96b72a71faa5ca5d33a721fc4115b54b /www/ap-perl
parent2a49406fa5b7413753866dec14c57cf068dca750 (diff)
downloadpkgsrc-8ec3ce100d7abfefa90b2e6800c0bc4a3ae9cb21.tar.gz
Fix bug reported in Apache PR mod_include/3502: mod_include hook for
<!--#perl--> was being allowed even in the IncludesNOEXEC case because of wrong logic in an if statement.
Diffstat (limited to 'www/ap-perl')
-rw-r--r--www/ap-perl/patches/patch-ab4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/ap-perl/patches/patch-ab b/www/ap-perl/patches/patch-ab
index 30b0c44def6..55f1af72491 100644
--- a/www/ap-perl/patches/patch-ab
+++ b/www/ap-perl/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.2 1998/12/04 17:25:13 tv Exp $
+$NetBSD: patch-ab,v 1.3 1998/12/07 16:36:15 tv Exp $
--- src/modules/perl/mod_perl.c.orig Wed Sep 30 23:13:14 1998
+++ src/modules/perl/mod_perl.c Thu Dec 3 17:30:09 1998
@@ -30,7 +30,7 @@ $NetBSD: patch-ab,v 1.2 1998/12/04 17:25:13 tv Exp $
+ SV *sub = Nullsv;
+ AV *av = newAV();
+
-+ if (!(ap_allow_options(r) & OPT_INCLUDES)) {
++ if (ap_allow_options(r) & OPT_INCNOEXEC) {
+ ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, r,
+ "httpd: #perl SSI disallowed by IncludesNoExec in %s",
+ r->filename);