diff --git a/lib/WebGUI/URL.pm b/lib/WebGUI/URL.pm index 2b3a15e40..febe6b830 100644 --- a/lib/WebGUI/URL.pm +++ b/lib/WebGUI/URL.pm @@ -120,6 +120,7 @@ Name value pairs to add to the URL in the form of: =cut sub gateway { + $_[0] =~ s/^\///; my $url = getScriptURL().$_[0]; if ($session{setting}{preventProxyCache} == 1) { $url = append($url,"noCache=".randint(0,1000).';'.time());