Priority: Normal
Current State: Closed
Released In: 1.1.3
Target Release: patch
Applies To: Engine
Component:
Branches:
we get it right in the wordage, but then make a mess of the OK button
Access check on Main.WebHome failed. Action "redirect": unsafe redirect to http://t42p/Sandbox/YuiMenu: host does not match {DefaultUrlHost} , and is not in {PermittedRedirectHostUrls}"http://localhost/".
--
SvenDowideit - 04 May 2009
Can you describe how to reproduce this?
--
CrawfordCurrie - 20 Sep 2009
yup - looking at it now

use a url (host) different from what is configured as the default / permitted, and save a change - you will get the unsafe redirect message, and the 'OK' points to webhome.
specifically, its because for the unsafe redirect, we're re-using the 'access denied' tmpl - where we should really use something a little smarter (ie, the correct
DefaultUrl/resuestedweb/topic..
--
SvenDowideit - 15 Sep 2010
Several issues:
- Foswiki.pm redirect uses $session->{web} and {topic} when the actual values are webName and topicName
- As Sven mentions, needs a template with a more relevant [ok] button
- Rename.pm needs to reset the $session->{webName} and {topicName} to the new web/topic so that if the redirect fails, the ok button has a topic to return to.
-- 13 Mar 2011 - 01:04:47 -
GeorgeClark
You forgot to add the new file to the MANIFEST. I have fixed it.
--
KennethLavrsen - 12 Apr 2011