From 675040a7e25118a92670c73804a41053a4d32947 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 28 Aug 2020 13:28:00 +0200 Subject: [serversetup-bwlp-ipxe] Fix UTF-8 fix, fix gaps not being displayed --- modules-available/serversetup-bwlp-ipxe/api.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules-available/serversetup-bwlp-ipxe/api.inc.php') diff --git a/modules-available/serversetup-bwlp-ipxe/api.inc.php b/modules-available/serversetup-bwlp-ipxe/api.inc.php index dcfa7774..7575ad55 100644 --- a/modules-available/serversetup-bwlp-ipxe/api.inc.php +++ b/modules-available/serversetup-bwlp-ipxe/api.inc.php @@ -7,7 +7,10 @@ } else { $builder = new ScriptBuilderIpxe(); } - $bootEntryId = Util::cleanUtf8(Request::get('beid', false, 'string')); + $bootEntryId = Request::get('beid', false, 'string'); + if ($bootEntryId !== false) { + $bootEntryId = Util::cleanUtf8($bootEntryId); + } $entryId = Request::get('entryid', false, 'int'); if ($bootEntryId !== false) { $entry = BootEntry::fromDatabaseId($bootEntryId); -- cgit v1.2.3-55-g7522