diff options
| -rw-r--r-- | FS/FS/CGI.pm | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/FS/FS/CGI.pm b/FS/FS/CGI.pm index 15561d7cc..4c2693db8 100644 --- a/FS/FS/CGI.pm +++ b/FS/FS/CGI.pm @@ -230,7 +230,7 @@ sub rooturl {    $url_string =~      s{         / -       (browse|config|docs|edit|graph|misc|search|view|pref|rt) +       (browse|config|docs|edit|graph|misc|search|view|pref|rt|elements)         /         (process/)?         ([\w\-\.\/]+) @@ -238,6 +238,10 @@ sub rooturl {       }       {}x; +  #elements because of progress-popup.html...  +  #XXX remove anything from elements that is called directly & prevent +  #those pages from being served up +    $url_string .= '/' unless $url_string =~ /\/$/;    $url_string;  | 
