From b46960ed945fa20378176382a068adc538b3b5c0 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 17 Jan 2010 06:40:40 +0000 Subject: [PATCH] fix for selfservice_server-base_url without a trailing / --- FS/FS/ClientAPI/MasonComponent.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/FS/FS/ClientAPI/MasonComponent.pm b/FS/FS/ClientAPI/MasonComponent.pm index 88baf0764..5c824e762 100644 --- a/FS/FS/ClientAPI/MasonComponent.pm +++ b/FS/FS/ClientAPI/MasonComponent.pm @@ -96,6 +96,7 @@ sub mason_comp { 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 = ''; -- 2.11.0