Use a dedicated cgi handler to deal with tag-toggle requests
authorFabian Keil <fk@fabiankeil.de>
Mon, 23 Jan 2017 13:04:58 +0000 (13:04 +0000)
committerFabian Keil <fk@fabiankeil.de>
Mon, 23 Jan 2017 13:04:58 +0000 (13:04 +0000)
commit0b8c6f3b24261180c8fe1560750d25dfa9c52206
tree459d63fd54ac8b1b9bdea8ed4ae6f819efbb1d4f
parentdbe8206bf9a571e36e6d4e84020fccd6b22a57e9
Use a dedicated cgi handler to deal with tag-toggle requests

As a result the /client-tags page is now safe to reach without
trusted Referer header which makes bookmarking or linking to
it more convenient.

Finally, refreshing the /client-tags page to show the
current state can no longer unintentionally repeat the
previous toggle request.
cgi.c
cgisimple.c
cgisimple.h