[freeside-commits] freeside/FS/FS/ClientAPI MasonComponent.pm, 1.3, 1.3.2.1
Ivan,,,
ivan at wavetail.420.am
Sat Jan 16 22:40:42 PST 2010
Update of /home/cvs/cvsroot/freeside/FS/FS/ClientAPI
In directory wavetail.420.am:/tmp/cvs-serv6654
Modified Files:
Tag: FREESIDE_1_9_BRANCH
MasonComponent.pm
Log Message:
fix for selfservice_server-base_url without a trailing /
Index: MasonComponent.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI/MasonComponent.pm,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -d -r1.3 -r1.3.2.1
--- MasonComponent.pm 22 Aug 2009 00:22:08 -0000 1.3
+++ MasonComponent.pm 17 Jan 2010 06:40:40 -0000 1.3.2.1
@@ -96,6 +96,7 @@
my $conf = new FS::Conf;
$FS::Mason::Request::FSURL = $conf->config('selfservice_server-base_url');
+ $FS::Mason::Request::FSURL .= '/' unless $FS::Mason::Request::FSURL =~ /\/$/;
$FS::Mason::Request::QUERY_STRING = $packet->{'query_string'} || '';
$outbuf = '';
More information about the freeside-commits
mailing list