[interchange-cvs] interchange - heins modified 2 files
interchange-core@interchange.redhat.com
interchange-core@interchange.redhat.com
Thu Jan 31 12:33:01 2002
User: heins
Date: 2002-01-31 17:32:31 GMT
Modified: lib/Vend Interpolate.pm Scan.pm
Log:
* Fix escape_mv problem that required find_search_params()
to escape values. As I thought, this was a legacy of my
1996 use of period to escape characters and the continuance
through the end of MV3 to support that.
We no longer ever escape characters in escape_mv (a misnomer,
now, I guess) and all seems to work well.
Revision Changes Path
2.47 +3 -3 interchange/lib/Vend/Interpolate.pm
rev 2.47, prev_rev 2.46
Index: Interpolate.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/lib/Vend/Interpolate.pm,v
retrieving revision 2.46
retrieving revision 2.47
diff -u -r2.46 -r2.47
--- Interpolate.pm 31 Jan 2002 16:03:41 -0000 2.46
+++ Interpolate.pm 31 Jan 2002 17:32:31 -0000 2.47
@@ -1,6 +1,6 @@
# Vend::Interpolate - Interpret Interchange tags
#
-# $Id: Interpolate.pm,v 2.46 2002/01/31 16:03:41 mheins Exp $
+# $Id: Interpolate.pm,v 2.47 2002/01/31 17:32:31 mheins Exp $
#
# Copyright (C) 1996-2001 Red Hat, Inc. <interchange@redhat.com>
#
@@ -27,7 +27,7 @@
require Exporter;
@ISA = qw(Exporter);
-$VERSION = substr(q$Revision: 2.46 $, 10);
+$VERSION = substr(q$Revision: 2.47 $, 10);
@EXPORT = qw (
@@ -3397,7 +3397,7 @@
for(@args) {
s!/!__SLASH__!g unless defined $not_scan;
s!\0!-_NULL_-!g;
- s!(\w\w=)(.*)!$1 . esc($2)!eg
+ m!\w=!
or (undef $_, next);
s!__SLASH__!::!g unless defined $not_scan;
}
2.7 +0 -1 interchange/lib/Vend/Scan.pm
rev 2.7, prev_rev 2.6
Index: Scan.pm
===================================================================
RCS file: /anon_cvs/repository/interchange/lib/Vend/Scan.pm,v
retrieving revision 2.6
retrieving revision 2.7
diff -u -r2.6 -r2.7
--- Scan.pm 31 Jan 2002 16:22:57 -0000 2.6
+++ Scan.pm 31 Jan 2002 17:32:31 -0000 2.7
@@ -1,6 +1,6 @@
# Vend::Scan - Prepare searches for Interchange
#
-# $Id: Scan.pm,v 2.6 2002/01/31 16:22:57 mheins Exp $
+# $Id: Scan.pm,v 2.7 2002/01/31 17:32:31 mheins Exp $
#
# Copyright (C) 1996-2001 Red Hat, Inc. <interchange@redhat.com>
#
@@ -29,7 +29,7 @@
perform_search
);
-$VERSION = substr(q$Revision: 2.6 $, 10);
+$VERSION = substr(q$Revision: 2.7 $, 10);
use strict;
use Vend::Util;
@@ -261,7 +261,6 @@
($var,$val) = split /=/, $_, 2;
next unless defined $Scan{$var};
$val =~ s!::!/!g;
- $val =~ s/%([A-Fa-f0-9][A-Fa-f0-9])/chr(hex($1))/ge;
$c->{$Scan{$var}} = defined $c->{$Scan{$var}}
? ($c->{$Scan{$var}} . "\0$val" )
: $val;