hopefully this should be the last bit of the relative URL fixing
[freeside.git] / FS / FS / CGI.pm
index a85d48a..c91c01f 100644 (file)
@@ -237,6 +237,8 @@ sub rooturl {
   $url_string =~ s/\?.*//;
 
   #even though this is kludgy
+  $url_string =~ s{ / index\.html /? $ }
+                  {/}x;
   $url_string =~
     s{
        /