A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol
C arduinobluetoothcan-busdebuggingeepromesp32flipperzerogpiohardware-hackingi2cjtagopenocdprotocolspwmradiorfidspisubghzuartwifi
accept +- for sanitized str
Geode973d8aff74
diff --git a/src/Managers/UserInputManager.cpp b/src/Managers/UserInputManager.cppindex 64fa2d3b..e5d5241a 100644--- a/src/Managers/UserInputManager.cpp+++ b/src/Managers/UserInputManager.cpp@@ -70,7 +70,7 @@ std::string UserInputManager::readSanitizedString(const std::string& label,else if (!onlyLetter && std::isdigit(uc)) {out.push_back(c);}- else if (!onlyLetter && c == '_') {+ else if (!onlyLetter && (c == '_' || c == '+' || c == '-')) {out.push_back(c);}// ignore others