Girocco/Project.pm: validate new JSON POST url with test POST
commit0632c46f0a8f19d389e4a70a8b6a920a654169f8
authorKyle J. McKay <mackyle@gmail.com>
Mon, 15 Feb 2021 18:15:17 +0000 (15 11:15 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 15 Feb 2021 18:15:17 +0000 (15 11:15 -0700)
tree468a5763e576bbadab1283b48ed351b9dd5f74a7
parentae66c892be3543c98c532d168d96787e54958ad7
Girocco/Project.pm: validate new JSON POST url with test POST

If the JSON POST url changes from its previous value (a newly created
project is considered to have "" as its previous value), then before
saving the new JSON POST url into the project, attempt a test POST
to see if it's actually usable.

Refuse to accept the new JSON POST url if it fails the POST test.

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