Item8599: urlhost not recognised with url redirectcache to '/'
Priority: Normal
Current State: No Action Required
Released In:
Target Release: patch
Applies To: Extension
Component: redirectcache
Branches:
Apart from
Item2597 which kills origurl=//foo/bar (double slash) redirects from working, I also have the problem that if my
origurl
is set as follows:
https://wiki.org/bin/login/Main/WebHome?origurl=/
Then after I login, I get:
Attention
Access check on Main.WebHome failed. Action "redirect": unsafe redirect to https://wiki.org?foswiki_redirect_cache=d406cbd2f262ca5785437a9df8a4586a: host does not match {DefaultUrlHost} , and is not in {PermittedRedirectHostUrls}"http://wiki.org".
Contact webmaster@localhost if you have any questions.
Related topics: WikiGroups, AccessControl
Even though wiki.org is the default host, and regardless of listing it in permitted hosts.
Is the hostname part being parsed as wiki.org? instead of wiki.org?
Set
WaitingFor myself until I can confirm on a vanilla svn install, might be a week or two for that.
I suspect this doesn't happen on foswiki.org because it uses path-based redirectcache instead of urlparams
--
PaulHarvey - 22 Feb 2010
Confirmed work-around: using url path instead of ?param for redirectcache. This should probably be urgent, will set to urgent when I can confirm on a clean svn install
--
PaulHarvey - 02 Mar 2010
Can't reproduce on a vanilla trunk svn install. Closing (also, this was a duplicate of
Item2249)
--
PaulHarvey - 21 Apr 2010