mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 03:10:16 +01:00
libnm-glib: allow the '.' character in agent identifiers
This commit is contained in:
parent
ffac6b33c6
commit
81bc9c8572
1 changed files with 1 additions and 1 deletions
|
|
@ -458,7 +458,7 @@ validate_identifier (const char *identifier)
|
|||
|
||||
/* FIXME: do complete validation here */
|
||||
while (p && *p) {
|
||||
if (!isalnum (*p) && (*p != '_') && (*p != '-'))
|
||||
if (!isalnum (*p) && (*p != '_') && (*p != '-') && (*p != '.'))
|
||||
return FALSE;
|
||||
if ((*p == '.') && (*(p + 1) == '.'))
|
||||
return FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue