diff options
author | tv <tv> | 1998-12-07 16:36:15 +0000 |
---|---|---|
committer | tv <tv> | 1998-12-07 16:36:15 +0000 |
commit | da303a4632b0f2909dabec8c7f416921ca08c553 (patch) | |
tree | 25f7c94b96b72a71faa5ca5d33a721fc4115b54b /www/ap-perl/patches | |
parent | b8924f7c02eb581f83e56ee3a0c82fabfb5038e8 (diff) | |
download | pkgsrc-da303a4632b0f2909dabec8c7f416921ca08c553.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/patches')
-rw-r--r-- | www/ap-perl/patches/patch-ab | 4 |
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); |