various: provide protected field support bits
commit265c836b36d4d7b3eccee90f18ce40d773fd47ae
authorKyle J. McKay <mackyle@gmail.com>
Mon, 15 Feb 2021 09:33:30 +0000 (15 02:33 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 15 Feb 2021 09:33:30 +0000 (15 02:33 -0700)
treecbc8c86a0ed00968e7f627c30fb09dad03e2c89c
parenta32afb867640e8c55302b742b46974da71c7d87c
various: provide protected field support bits

Enhance print_form_fields to allow passing in a list of
protected fields that need to be handled differently.

Enhance cgi_fill to not fill fields from a non-existent
parameter value (thereby avoiding stepping on the value).

Provide a new check_timed_token utility function that
works like verify_timed_token except it takes a category
name instead of an actual secret.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Girocco/CGI.pm
Girocco/Project.pm
Girocco/Util.pm