From a53086e0c56fd15a5f7445d68f5bf834be2ad794 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 8 Jan 2024 20:33:29 +0100 Subject: [PATCH] Fix deletion of addresses with spaces in them by avoiding encoding to "application/x-www-form-urlencoded" Signed-off-by: DL6ER --- scripts/pi-hole/js/groups-common.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/pi-hole/js/groups-common.js b/scripts/pi-hole/js/groups-common.js index 653b72cf..86e84524 100644 --- a/scripts/pi-hole/js/groups-common.js +++ b/scripts/pi-hole/js/groups-common.js @@ -66,6 +66,7 @@ function delGroupItems(type, ids, table) { $.ajax({ url: url, data: JSON.stringify(ids), + contentType: "application/json", method: "POST", }) .done(function () {