mhonarc-commits
[Top] [All Lists]

CVS: mhonarc/MHonArc/lib mhmimetypes.pl,1.19,1.20

2004-05-22 09:48:47
Update of /home/users/mhonarc.org/ehood/cvs/mhonarc/mhonarc/MHonArc/lib
In directory denethor.mallorn.com:/tmp/cvs-serv17741

Modified Files:
	mhmimetypes.pl 
Log Message:
Bug #9050: Used wrong variable if regex.  Replaced with one with proper
escaping.


Index: mhmimetypes.pl
===================================================================
RCS file: /home/users/mhonarc.org/ehood/cvs/mhonarc/mhonarc/MHonArc/lib/mhmimetypes.pl,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** mhmimetypes.pl	29 Sep 2003 05:03:57 -0000	1.19
--- mhmimetypes.pl	22 May 2004 16:48:39 -0000	1.20
***************
*** 364,368 ****
  sub urlize_file_path {
      my $path = shift;
!     $path =~ s/$DIRSEP/\//go;
      $path =~ s/([^\w.\-\/])/sprintf("%%%X",unpack("C",$1))/ge;
      $path;
--- 364,368 ----
  sub urlize_file_path {
      my $path = shift;
!     $path =~ s/$DIRSEPREX/\//go;
      $path =~ s/([^\w.\-\/])/sprintf("%%%X",unpack("C",$1))/ge;
      $path;

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-COMMITS