Validate property values
Currently we only check if the properties passed have valid keys.
The check on the values is basically missing.
Take also care of empty values ( nm_str_not_empty()
could be an option) and special values (e.g., newlines).
Make sure property values are properly sanitized and escaped or rejected as invalid before being written by the WRITE_CHECK() macro.
Edited by Francesco Giudici