Skip to content

Commit

Permalink
Item1766: Redirecting to http://foswiki_redirect_cache... on first lo…
Browse files Browse the repository at this point in the history
…gin of a browser session

Checking in Crawfords fix as it seems to get good feedback from the reporters of the problem.


git-svn-id: http://svn.foswiki.org/branches/Release01x00@4763 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
KennethLavrsen authored and KennethLavrsen committed Sep 3, 2009
1 parent 809357c commit 348ac1a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/lib/Foswiki.pm
Original file line number Diff line number Diff line change
Expand Up @@ -899,6 +899,9 @@ sub redirect {
# Redirecting from a post to a get
my $cache = $this->cacheQuery();
if ($cache) {
if ($url eq '/') {
$url = $this->getScriptUrl(1, 'view');
}
$url .= $cache;
}
}
Expand Down

0 comments on commit 348ac1a

Please sign in to comment.