Check for invalid chars in key=value pairs.

From feature/commit-attrs-clean.