From bcd2fd613ec7a29b05ab90dc4739e974c2060811 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 8 May 2025 18:19:28 +0200 Subject: Change non-modifying AJAX requests from POST to GET --- modules-available/statistics/page.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules-available/statistics/page.inc.php') diff --git a/modules-available/statistics/page.inc.php b/modules-available/statistics/page.inc.php index f07dca56..3a938ff9 100644 --- a/modules-available/statistics/page.inc.php +++ b/modules-available/statistics/page.inc.php @@ -286,7 +286,7 @@ class Page_Statistics extends Page } if ($action === 'json-lookup') { $reply = []; - foreach (Request::post('list', [], 'array') as $item) { + foreach (Request::any('list', [], 'array') as $item) { $name = PciId::getPciId(PciId::AUTO, $item, true); if ($name === false) { $name = '?????'; -- cgit v1.2.3-55-g7522