From 096c7ac1682e6ee3dcd091d7e089f64af4f836d0 Mon Sep 17 00:00:00 2001 From: Xiretza Date: Tue, 16 Aug 2022 21:16:22 +0200 Subject: [PATCH] server: clean up scripts, require POST for non-idempotent requests --- server/ping-get.php | 24 +++++++++++++++--------- server/ping.php | 23 +++++++++++++---------- server/status.txt | 0 server/update.php | 44 ++++++++++++++++++++++++-------------------- 4 files changed, 52 insertions(+), 39 deletions(-) mode change 100644 => 100755 server/ping-get.php mode change 100644 => 100755 server/ping.php mode change 100755 => 100644 server/status.txt diff --git a/server/ping-get.php b/server/ping-get.php old mode 100644 new mode 100755 index 5985715..4945496 --- a/server/ping-get.php +++ b/server/ping-get.php @@ -1,16 +1,22 @@ diff --git a/server/ping.php b/server/ping.php old mode 100644 new mode 100755 index 42982e4..5642e9f --- a/server/ping.php +++ b/server/ping.php @@ -1,17 +1,20 @@ diff --git a/server/status.txt b/server/status.txt old mode 100755 new mode 100644 diff --git a/server/update.php b/server/update.php index 8494869..0514dad 100755 --- a/server/update.php +++ b/server/update.php @@ -1,30 +1,34 @@