mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-26 17:50:25 +01:00
agent: allow the '.' character in agent identifiers
This commit is contained in:
parent
81bc9c8572
commit
fc82bbc412
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ validate_identifier (const char *identifier, GError **error)
|
|||
|
||||
/* FIXME: do complete validation here */
|
||||
while (p && *p) {
|
||||
if (!isalnum (*p) && (*p != '_') && (*p != '-')) {
|
||||
if (!isalnum (*p) && (*p != '_') && (*p != '-') && (*p != '.')) {
|
||||
g_set_error (error,
|
||||
NM_AGENT_MANAGER_ERROR,
|
||||
NM_AGENT_MANAGER_ERROR_INVALID_IDENTIFIER,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue