Skip to content
Snippets Groups Projects
Commit 24a78dba authored by t895's avatar t895
Browse files

frontend_common: config: Do not count "." as a special character

It would break reading floating point settings
parent d163b182
No related branches found
No related tags found
No related merge requests found
...@@ -213,9 +213,8 @@ private: ...@@ -213,9 +213,8 @@ private:
const std::optional<bool>& use_global); const std::optional<bool>& use_global);
void WriteString(const std::string& key, const std::string& value); void WriteString(const std::string& key, const std::string& value);
inline static std::array<char, 19> special_characters = {'!', '#', '$', '%', '^', '&', '*', inline static std::array<char, 18> special_characters = {
'|', ';', '\'', '\"', ',', '<', '.', '!', '#', '$', '%', '^', '&', '*', '|', ';', '\'', '\"', ',', '<', '>', '?', '`', '~', '='};
'>', '?', '`', '~', '='};
struct ConfigArray { struct ConfigArray {
std::string name; std::string name;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment