From 31e30cfca6caf4288d265486dcee86b6dce4ac96 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 25 Oct 2010 18:29:40 +0200 Subject: [PATCH] Turn POST request into a GET request. --- src/main/java/net/pterodactylus/sone/web/OptionsPage.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/pterodactylus/sone/web/OptionsPage.java b/src/main/java/net/pterodactylus/sone/web/OptionsPage.java index e81bc4e..0f9051d 100644 --- a/src/main/java/net/pterodactylus/sone/web/OptionsPage.java +++ b/src/main/java/net/pterodactylus/sone/web/OptionsPage.java @@ -59,6 +59,7 @@ public class OptionsPage extends SoneTemplatePage { options.getBooleanOption("ClearOnNextRestart").set(clearOnNextRestart); boolean reallyClearOnNextRestart = Boolean.parseBoolean(request.getHttpRequest().getPartAsStringFailsafe("really-clear-on-next-restart", 5)); options.getBooleanOption("ReallyClearOnNextRestart").set(reallyClearOnNextRestart); + throw new RedirectException(getPath()); } template.set("insertion-delay", options.getIntegerOption("InsertionDelay").get()); template.set("clear-on-next-restart", options.getBooleanOption("ClearOnNextRestart").get()); -- 2.7.4