Permalink
Browse files

Item14051: fixing regression in page cache ...

... not taking the  host url into consideration anymore
  • Loading branch information...
1 parent 2f5c2c0 commit 06da0433f77534c172f43794f57a90f7e9269410 MichaelDaum committed with gac410 Apr 14, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/lib/Foswiki/PageCache.pm
@@ -125,7 +125,7 @@ sub genVariationKey {
my $session = $Foswiki::Plugins::SESSION;
my $request = $session->{request};
my $action = substr( ( $request->{action} || 'view' ), 0, 4 );
- my $serverName = $request->server_name || $Foswiki::cfg{DefaultUrlHost};
+ my $serverName = $session->{urlHost} || $Foswiki::cfg{DefaultUrlHost};
my $serverPort = $request->server_port || 80;
$variationKey = '::' . $serverName . '::' . $serverPort . '::' . $action;

0 comments on commit 06da043

Please sign in to comment.