projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
82515e9
)
fix for selfservice_server-base_url without a trailing /
author
ivan
<ivan>
Sun, 17 Jan 2010 06:40:39 +0000
(06:40 +0000)
committer
ivan
<ivan>
Sun, 17 Jan 2010 06:40:39 +0000
(06:40 +0000)
FS/FS/ClientAPI/MasonComponent.pm
patch
|
blob
|
history
diff --git
a/FS/FS/ClientAPI/MasonComponent.pm
b/FS/FS/ClientAPI/MasonComponent.pm
index
76d406c
..
20b4e5b
100644
(file)
--- 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 = '';