hopefully this should be the last bit of the relative URL fixing
authorivan <ivan>
Mon, 22 Jan 2007 14:29:25 +0000 (14:29 +0000)
committerivan <ivan>
Mon, 22 Jan 2007 14:29:25 +0000 (14:29 +0000)
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{
        /