summaryrefslogtreecommitdiffstats
path: root/defparams.pl
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2003-04-25 06:17:29 +0200
committerjustdave%syndicomm.com <>2003-04-25 06:17:29 +0200
commit901c2d3a8ad01b13111145ec63234f3bd6f02871 (patch)
treecfdf672df926572faac9cfe570767fce56c8e65c /defparams.pl
parente9841817aa2bb7aef16e6499a9db2d5254a31c5f (diff)
downloadbugzilla-901c2d3a8ad01b13111145ec63234f3bd6f02871.tar.gz
bugzilla-901c2d3a8ad01b13111145ec63234f3bd6f02871.tar.xz
Bug 197153: Fix for insecure temporary filename handling.
Patch by Brad Baetz <bbaetz@acm.org> r= justdave, gerv a= justdave
Diffstat (limited to 'defparams.pl')
-rw-r--r--defparams.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/defparams.pl b/defparams.pl
index 246342e58..ed1830581 100644
--- a/defparams.pl
+++ b/defparams.pl
@@ -99,7 +99,7 @@ sub check_webdotbase {
# Check .htaccess allows access to generated images
if(-e "data/webdot/.htaccess") {
open HTACCESS, "data/webdot/.htaccess";
- if(! grep(/png/,<HTACCESS>)) {
+ if(! grep(/ \\\.png\$/,<HTACCESS>)) {
return "Dependency graph images are not accessible.\nDelete data/webdot/.htaccess and re-run checksetup.pl to rectify.\n";
}
close HTACCESS;