You are here: Foswiki>Tasks Web>Item8599 (21 Apr 2010, PaulHarvey)Edit Attach

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
Reported By: PaulHarvey
Waiting For: Main.PaulHarvey
Last Change By: PaulHarvey
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:

Then after I login, I get:


Access check on Main.WebHome failed. Action "redirect": unsafe redirect to host does not match {DefaultUrlHost} , and is not in {PermittedRedirectHostUrls}"".

Contact webmaster@localhost if you have any questions.

Related topics: WikiGroups, AccessControl

Even though is the default host, and regardless of listing it in permitted hosts.

Is the hostname part being parsed as instead of

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 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

ItemTemplate edit

Summary urlhost not recognised with url redirectcache to '/'
ReportedBy PaulHarvey
Codebase 1.0.9
SVN Range
AppliesTo Extension
Component redirectcache
Priority Normal
CurrentState No Action Required
WaitingFor PaulHarvey
TargetRelease patch
Topic revision: r3 - 21 Apr 2010, PaulHarvey - This page was cached on 11 Sep 2019 - 20:56.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy