Item1711: Some authentication services do not pass on parameters

pencil
Priority: Urgent
Current State: Closed
Released In: 1.0.6
Target Release: patch
Applies To: Engine
Component:
Branches:
Reported By: CrawfordCurrie
Waiting For:
Last Change By: KennethLavrsen
I have encountered a problem with some corporate authentication services, which strip URL parameters from redirects. Since the original request is passed in foswiki_redirect_cache this means the request is lost. It's easy to fix, by simply rewriting the URL to include the cache ID rather than using a param, but this requires a small change in UI.pm to support it.

It's a four-line patch in UI.pm and doesn't affect the other functionality in any way. I would really, really like it in 1.0.6.

-- CrawfordCurrie - 11 Jun 2009

After raising the question on IRC, I concluded that there is no point to keeping the "parameter passing" method. It's perfectly fine to always pass on the redirect cache in the path info. So I changed the code accordingly, and hopefully we won't have any further issues.

MichaelTempest highlighted the fact that there is no real point to passing the web/topic in the path info for a login, though that would be trickier to get rid of so I didn't try,

-- CrawfordCurrie - 12 Jun 2009

ItemTemplate edit

Summary Some authentication services do not pass on parameters
ReportedBy CrawfordCurrie
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:cc7231a1bef9 distro:9409e06e21bb
TargetRelease patch
ReleasedIn 1.0.6
Topic revision: r5 - 22 Jun 2009, KennethLavrsen
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