One final config lookup removed, for the gateway method itself.
This commit is contained in:
parent
95d88fbede
commit
d9736ea032
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ sub gateway {
|
|||
my $pageUrl = shift;
|
||||
my $pairs = shift;
|
||||
my $skipPreventProxyCache = shift;
|
||||
my $url = $self->make_urlmap_work($self->session->config->get("gateway")).'/'.$pageUrl;
|
||||
my $url = $self->make_urlmap_work($self->session->request->base->path).'/'.$pageUrl;
|
||||
$url =~ tr{/}{/}s;
|
||||
if ($self->session->setting->get("preventProxyCache") == 1 and !$skipPreventProxyCache) {
|
||||
$url = $self->append($url,"noCache=".int(rand(1001)).':'.time());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue