[Freeipa-devel] [PATCH 62] Tweak the session auth to reflect developer consensus.

John Dennis jdennis at redhat.com
Sun Feb 26 20:49:02 UTC 2012


On 02/26/2012 03:08 PM, Rob Crittenden wrote:
> Can you explain this change?
>
> -        key = shift_path_info(environ)
> +        key = environ.get('PATH_INFO')

Sure, previously there was an expectation that every level in the URL 
path would have it's own WSGI script. You would pop off the first 
component in the path (i.e. shift_path_info) and hand it to a WSGI 
script, and so on and so on. In other words dispatch would occur at the 
WSGI script level, I think this was how Jason initially envisioned 
things would work in the dim past.

But we don't have multiple WSGI scripts, we have one WSGI script that 
dispatches on the path component.

Therefore the keys used to dispatch are based on the full URL path.



-- 
John Dennis <jdennis at redhat.com>

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/




More information about the Freeipa-devel mailing list