Author: wgh
Description:
For example, http://en.wikipedia.org/w/api.php?action=query&titles=False&format=yamlfm
Try to parse it using pyyaml, and you'll get
{'query': {'pages': [{'ns': 0, 'pageid': 228749, 'title': False}]}}
That's because False is unquoted, and, according to specs,
http://www.yaml.org/spec/1.2/spec.html#id2803629
it's boolean literal, when it should be a string instead.
It also doesn't escape other boolean literals found in older 1.1 specs
http://yaml.org/type/bool.html
Version: unspecified
Severity: normal