changeset 237:053c52c4516f

Bugfix fro mColin Zheng
author Steve Kemp <steve@steve.org.uk>
date Sun, 04 May 2008 13:48:29 +0100
parents 9e72fad938ee
children 9537c32b1e95
files cgi-bin/comments.cgi
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cgi-bin/comments.cgi	Fri May 02 21:21:33 2008 +0100
+++ b/cgi-bin/comments.cgi	Sun May 04 13:48:29 2008 +0100
@@ -139,7 +139,7 @@
 #  Open the file.
 #
 my $file = $COMMENT . "/" . $id . "." . $timestr;
-$file =~ s/[^a-z0-9]/_/gi;
+$file =~ s/[^a-z0-9\/]/_/gi;
 
 open( FILE, ">", $file );
 print FILE "Name: $name\n";