Skip to content

Commit

Permalink
Item14051: fixing regression in page cache ...
Browse files Browse the repository at this point in the history
... not taking the  host url into consideration anymore
  • Loading branch information
MichaelDaum authored and gac410 committed Apr 14, 2016
1 parent 2f5c2c0 commit 06da043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/PageCache.pm
Expand Up @@ -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;

Expand Down

0 comments on commit 06da043

Please sign in to comment.