projects: make application/json the default initial jsontype
commit973caf46afb0f36ce648d582663bd10f0ae986bf
authorKyle J. McKay <mackyle@gmail.com>
Wed, 4 Aug 2021 04:20:35 +0000 (3 21:20 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 4 Aug 2021 04:20:35 +0000 (3 21:20 -0700)
treedf0828c57b745b6c4670e97edc4f941fb42d370c
parent2584b9d4f2c5b278d19bb86b91eb92da1795aaed
projects: make application/json the default initial jsontype

The old 'application/x-www-form-urlencoded' type continues to be
supported; any projects that existed prior to the addition of the
"jsontype" setting and do not have it configured will continue to
be interpreted as 'application/x-www-form-urlencoded' when loaded
to preserve backwards compatibility.

For new projects though, make the default the more modern
'application/json' type instead of the outdated
'application/x-www-form-urlencoded' type.

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