Don't use GET for non-idempotent API endpoints #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, the following API endpoints are non-idempotent, but work with GET requests:
update.php
ping-get.php
These should be changed to only allow POST requests; the 2fb firmware needs to be updated accordingly.
Done in
096c7ac168
.