Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item14051: fixing regression in page cache ...
... not taking the  host url into consideration anymore
  • Loading branch information
MichaelDaum committed Apr 14, 2016
1 parent 553e047 commit ede4259
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 ede4259

Please sign in to comment.