Fixing a bug where append could return broken urls (starting with //)

This commit is contained in:
Martin Kamerbeek 2005-01-11 20:52:13 +00:00
parent eb0cbfb060
commit a60e4a5262

View file

@ -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());