# HG changeset patch # User Steve Kemp # Date 1209905309 -3600 # Node ID 053c52c4516fb2ee515803d14961962b85bb9ebc # Parent 9e72fad938ee17c4227219d72919d7968fa14d45 Bugfix fro mColin Zheng diff -r 9e72fad938ee -r 053c52c4516f cgi-bin/comments.cgi --- 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";