stas 2002/07/30 19:10:16
Modified: lib/Apache Status.pm
. Changes
Log:
fix Apache::Status to not use :: in filenames, which is not allowed on
certain OSs
Submitted by: DH <[EMAIL PROTECTED]>
Revision Changes Path
1.27 +1 -0 modperl/lib/Apache/Status.pm
Index: Status.pm
===================================================================
RCS file: /home/cvs/modperl/lib/Apache/Status.pm,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- Status.pm 23 May 2002 16:14:56 -0000 1.26
+++ Status.pm 31 Jul 2002 02:10:15 -0000 1.27
@@ -514,6 +514,7 @@
mkdir $dir, 0755 unless -d $dir;
(my $thing = $r->path_info) =~ s:^/::;
+ $thing =~ s{::}{-}g; # :: is not allowed in the filename on some OS
my $type = "dot";
my $file = "$dir/$thing.$$.gif";
1.654 +3 -0 modperl/Changes
Index: Changes
===================================================================
RCS file: /home/cvs/modperl/Changes,v
retrieving revision 1.653
retrieving revision 1.654
diff -u -r1.653 -r1.654
--- Changes 19 Jun 2002 16:31:52 -0000 1.653
+++ Changes 31 Jul 2002 02:10:16 -0000 1.654
@@ -10,6 +10,9 @@
=item 1.27_01-dev
+fix Apache::Status to not use :: in filenames, which is not allowed on
+certain OSs [DH <[EMAIL PROTECTED]>]
+
various cygwin fixes [Per Einar Ellefsen <[EMAIL PROTECTED]>]
fix to compile with 5.8.0 on win32 [Randy Kobes <[EMAIL PROTECTED]>]