chiark / gitweb /
_check_divert_core: Change handling of $parmt=='t'
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 28 Oct 2015 16:22:24 +0000 (16:22 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 28 Oct 2015 16:22:24 +0000 (16:22 +0000)
commitb93e3cc7eae3bfc87474afb3be8458647f61a2aa
tree27d5a4dfe9583dbf0575881ebad45bccbafd4ba3
parentcdb13789e4025ebc1ab10ce6784ffad7a222a35a
_check_divert_core: Change handling of $parmt=='t'

This can mean that the form parameter refers to a cookie now deleted
from the db: ie one relating to a previous user session.

This is not a bug or (necessariloy) an attack; it might simply mean
that the submission comes from a page generated in a previous login
session.

So handle this case the same way as $parmt=='n' (ie, expired hidden
parameter value).  (Double-checked by searching the function beyond
that point for references to parmt.)

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
cgi-auth-flexible.pm