agent: allow the '.' character in agent identifiers
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user