chiark / gitweb /
blinding: Fix (again) move of Params setting into check_divert
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 27 Oct 2015 18:49:04 +0000 (18:49 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 27 Oct 2015 18:49:27 +0000 (18:49 +0000)
commitd8f2e2818a90ea2fa2ce60985f613875b5e52f7c
treee45df042712806b4a0b59047681b5d939260774b
parentd4cf8c70946f34cc9f46f9b5fe25962df77154ba
blinding: Fix (again) move of Params setting into check_divert

Do not inadvertently autoviviy $divert as an arrayref.

If we do then the web app (or check_ok) sees it as trueish and will try
diverting with an empty divert spec, rather than seeing it as falseish
and correctly proceeding to do the real work.

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