summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-10-27 09:40:45 -0700
committerIvan Kohler <ivan@freeside.biz>2015-10-27 09:40:45 -0700
commit0caa7ea9f8c1975f855ab167d1f8d0d3d1a3ddad (patch)
treebaf210d604fa8304131c1b04c27a6614e56f99ee /FS
parent434137989f7343ada30ceff4056c5f75ef8d9d27 (diff)
progressbar fix for elements/ exclusion, RT#38752
Diffstat (limited to 'FS')
-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 5ac31dbec..fc0f6525e 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;