Ticket #1761 (closed defect: fixed)
https authentication raises exception if the forward_url has FileField etc.
|Reported by:||sanjay||Owned by:||anonymous|
Say I have a website where users login through ssl (https). In this case, as of TG 126.96.36.199, I need to set identity.force_external_redirect to True and identity.failure_url to https://mywebsite/login in app.cfg or prod.cfg.
However, in TG 188.8.131.52 the failure redirection happens through GET but not POST by a parameter named forward_url. This leads to the problem that if an user posts a form having FileField? or voluminous data without logging in, error comes because the forward_url is not able to handle FileField? or big parameters.
If I try the workaround that the user logs in before filling the form itself, then if the user walks away for a while in the middle of filling a form and timeout occurs, the problem props up.
Also, I observed another minor issue. If an user presses login, he is placed at the home page after logging in, but not in the page he was previously in.