Merge pull request #1500 from Meshcore-Portugal/jbrazio/2026_03a6aa94

Allow usage of "/" in radio names
This commit is contained in:
ripplebiz 2026-01-30 12:09:08 +11:00 committed by GitHub
commit e60fb14e88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,7 @@ static uint32_t _atoi(const char* sp) {
static bool isValidName(const char *n) {
while (*n) {
if (*n == '[' || *n == ']' || *n == '/' || *n == '\\' || *n == ':' || *n == ',' || *n == '?' || *n == '*') return false;
if (*n == '[' || *n == ']' || *n == '\\' || *n == ':' || *n == ',' || *n == '?' || *n == '*') return false;
n++;
}
return true;