Fix lowercase whitelisted_keys not being recognized as entries
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user