403
403
if (!(*p >= 'A' && *p <= 'Z') && !(*p >= 'a' && *p <= 'z')
404
404
&& !(*p >= '0' && *p <= '9')
405
&& *p != '_' && *p != '-' && *p != '/'
406
&& !(*p == '<' || *p == '>'))
405
&& *p != '_' && *p != '-' && *p != '/' && *p != '{' && *p != '}'
406
&& !(*p == '<' || *p == '>') && *p != '|' && *p != ','
407
&& *p != '[' && *p != ']' && *p != '.' && *p != ':')
408
409
if (error != NULL)
410
411
g_set_error (error, XFCONF_ERROR,
411
412
XFCONF_ERROR_INVALID_PROPERTY,
412
413
_("Property names can only include the ASCII "
413
"characters A-Z, a-z, 0-9, '_', '-', '<' "
414
"and '>', as well as '/' as a separator"));
414
"characters A-Z, a-z, 0-9, '_', '-', ':', '.', "
415
"',', '[', ']', '{', '}', '<' and '>', as well "
416
"as '/' as a separator"));