From 6761bf9c4057314c1afc502e54b18a77407fc08b Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 17 Jan 2010 06:40:39 +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 76d406c45..20b4e5bdb 100644 --- a/FS/FS/ClientAPI/MasonComponent.pm +++ b/FS/FS/ClientAPI/MasonComponent.pm @@ -109,6 +109,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