[interchange-cvs] interchange - heins modified lib/Vend/Payment/Signio.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Sat May 13 09:49:34 EDT 2006


User:      heins
Date:      2006-05-13 13:49:34 GMT
Modified:  lib/Vend/Payment Tag: STABLE_5_4-branch Signio.pm
Log:
* Fix bug introduced in previous change to cert_path logic attempting
  to allow relative paths. If the certs/ directory was not directly
  in VENDROOT and no cert_path was defined, no search for a certs/
  directory would happen.

* We should try to release IC as soon as possible on this one, as an
  upgrade will break catalogs using Verisign PayFlow Pro (which is
  how I discovered this one).

Revision  Changes    Path
No                   revision



No                   revision



2.15.2.1  +7 -4      interchange/lib/Vend/Payment/Signio.pm


rev 2.15.2.1, prev_rev 2.15
Index: Signio.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Payment/Signio.pm,v
retrieving revision 2.15
retrieving revision 2.15.2.1
diff -u -r2.15 -r2.15.2.1
--- Signio.pm	8 Nov 2005 18:14:46 -0000	2.15
+++ Signio.pm	13 May 2006 13:49:34 -0000	2.15.2.1
@@ -1,6 +1,6 @@
 # Vend::Payment::Signio - Interchange support for Signio/Verisign Payflow Pro
 #
-# $Id: Signio.pm,v 2.15 2005/11/08 18:14:46 jon Exp $
+# $Id: Signio.pm,v 2.15.2.1 2006/05/13 13:49:34 mheins Exp $
 #
 # Copyright (C) 2002-2005 Interchange Development Group
 # Copyright (C) 1999-2002 Red Hat, Inc.
@@ -384,9 +384,12 @@
 
 	# set certificate path for modern pfpro
 	my $cert_path = charge_param('cert_path');
-	$cert_path = "$Global::VendRoot/$cert_path"
-		unless Vend::File::file_name_is_absolute($cert_path);
-	$ENV{PFPRO_CERT_PATH} ||= $cert_path;
+	if($cert_path) {
+		$cert_path = "$Global::VendRoot/$cert_path"
+			unless Vend::File::file_name_is_absolute($cert_path);
+		$ENV{PFPRO_CERT_PATH} ||= $cert_path;
+	}
+
 	if(! -d $ENV{PFPRO_CERT_PATH} ) {
 		my @try = (
 					$cert_path,








More information about the interchange-cvs mailing list