diff options
author | ivan <ivan> | 2010-01-17 06:40:39 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-01-17 06:40:39 +0000 |
commit | 6761bf9c4057314c1afc502e54b18a77407fc08b (patch) | |
tree | 55c50002e4e62fc8348ae368f6d1c92c4f42a05f /FS/FS | |
parent | 82515e96b3b6e572e453d1cec69085ee09ccfb3f (diff) |
fix for selfservice_server-base_url without a trailing /
Diffstat (limited to 'FS/FS')
-rw-r--r-- | FS/FS/ClientAPI/MasonComponent.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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 = ''; |