summaryrefslogtreecommitdiff
path: root/FS/FS/CGI.pm
diff options
context:
space:
mode:
Diffstat (limited to 'FS/FS/CGI.pm')
-rw-r--r--FS/FS/CGI.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/FS/FS/CGI.pm b/FS/FS/CGI.pm
index 5ac31db..fc0f652 100644
--- a/FS/FS/CGI.pm
+++ b/FS/FS/CGI.pm
@@ -244,17 +244,13 @@ sub rooturl {
$url_string =~
s{
/
- (browse|config|docs|edit|graph|misc|search|view|loginout|pref|elements|rt|torrus)
+ (browse|config|docs|edit|graph|misc|search|view|loginout|pref|rt|torrus)
(/process)?
([\w\-\.\/]*)
$
}
{}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;