[interchange-cvs] interchange - racke modified lib/Vend/Util.pm
interchange-core@interchange.redhat.com
interchange-core@interchange.redhat.com
Wed Jan 30 16:54:00 2002
User: racke
Date: 2002-01-30 21:53:15 GMT
Modified: lib/Vend Util.pm
Log:
equal signs are valid characters in an URL, so we shouldn't escape it
in vendURL
the previous behaviour mangled paths passed from escape_scan
Revision Changes Path
2.15 +3 -3 interchange/lib/Vend/Util.pm
rev 2.15, prev_rev 2.14
Index: Util.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/lib/Vend/Util.pm,v
retrieving revision 2.14
retrieving revision 2.15
diff -u -r2.14 -r2.15
--- Util.pm 29 Jan 2002 05:52:43 -0000 2.14
+++ Util.pm 30 Jan 2002 21:53:15 -0000 2.15
@@ -1,6 +1,6 @@
# Vend::Util - Interchange utility functions
#
-# $Id: Util.pm,v 2.14 2002/01/29 05:52:43 mheins Exp $
+# $Id: Util.pm,v 2.15 2002/01/30 21:53:15 racke Exp $
#
# Copyright (C) 1996-2001 Red Hat, Inc. <interchange@redhat.com>
#
@@ -81,7 +81,7 @@
use Safe;
use subs qw(logError logGlobal);
use vars qw($VERSION @EXPORT @EXPORT_OK);
-$VERSION = substr(q$Revision: 2.14 $, 10);
+$VERSION = substr(q$Revision: 2.15 $, 10);
BEGIN {
eval {
@@ -123,7 +123,7 @@
}
my $string = "[^$ESCAPE_CHARS::ok_in_filename]";
- $need_escape = qr{$string};
+ $need_escape = qr{"$string="};
}