efi-loader: Add @ to valid characters

This is now a valid character with the introduction of multi UKI
profiles, so update the function to allow it.
This commit is contained in:
Daan De Meyer
2024-10-09 20:36:57 +02:00
parent 8c5697182a
commit 46536e1d6c
+1 -1
View File
@@ -364,5 +364,5 @@ bool efi_loader_entry_name_valid(const char *s) {
if (!filename_is_valid(s)) /* Make sure entry names fit in filenames */
return false;
return in_charset(s, ALPHANUMERICAL "+-_.");
return in_charset(s, ALPHANUMERICAL "+-_.@");
}