summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2007-01-22 14:29:25 +0000
committerivan <ivan>2007-01-22 14:29:25 +0000
commite81089e14bf8bd59c9dee9e70763df902962fb2b (patch)
tree36813df5f9904d79e57aca48eb40704c72a07756
parentd15c3f4bcdeaf94b1a286691ec670d7c32dbd3d3 (diff)
hopefully this should be the last bit of the relative URL fixing
-rw-r--r--FS/FS/CGI.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/CGI.pm b/FS/FS/CGI.pm
index a85d48ab6..c91c01fd0 100644
--- a/FS/FS/CGI.pm
+++ b/FS/FS/CGI.pm
@@ -237,6 +237,8 @@ sub rooturl {
$url_string =~ s/\?.*//;
#even though this is kludgy
+ $url_string =~ s{ / index\.html /? $ }
+ {/}x;
$url_string =~
s{
/