Fix lowercase whitelisted_keys not being recognized as entries

This commit is contained in:
2026-01-17 15:33:19 +01:00
parent 7d56f9db5d
commit 2117b6a62b
2 changed files with 5 additions and 1 deletions

View File

@@ -15,6 +15,7 @@
#include <unordered_map> #include <unordered_map>
#include <unordered_set> #include <unordered_set>
#include <algorithm> #include <algorithm>
#include <bits/stdc++.h>
#ifdef _WIN32 #ifdef _WIN32
#include <winsock2.h> #include <winsock2.h>

View File

@@ -151,8 +151,11 @@ namespace ColumnLynx::Utils {
} }
std::string line; std::string line;
while (std::getline(file, line)) { while (std::getline(file, line)) {
// Convert to upper case to align with the bytesToHexString() output
for (int i = 0; i < line.length(); i++) {
line[i] = toupper(line[i]);
}
out.push_back(line); out.push_back(line);
} }