]> git.ipfire.org Git - thirdparty/libvirt.git/commit
docs: restrict the set of characters for info keys
authorClaudio Bley <cbley@av-test.de>
Fri, 11 Jan 2013 10:39:19 +0000 (11:39 +0100)
committerClaudio Bley <cbley@av-test.de>
Mon, 14 Jan 2013 08:18:43 +0000 (09:18 +0100)
commitbf1786b6d5bd74d05cbf74e94b44c6584d269856
treeb409cc18954118b329b33fc9b9d9a4fcec22ced6
parent833e1493ed5252bcda695f3ee8d441ff7f4af58c
docs: restrict the set of characters for info keys

When parsing the top level comment of a file, apibuild.py used
to split on any ':' character of a line regarding the first part
as a key for a setting, e.g. "Summary". The second part would then
be assigned as the value for that key.

This means you could not use a ':' character inside those comments
without ill effects.

Now, a key must consist solely of alphanumeric characters, '_' or '.'.
docs/apibuild.py