Comment 2 for bug 1586162

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

That looks pretty bad.

With Go yaml package you can force the field to be read out as a string. I'd expect Python to be able to do something similar.

The proper fix would be to reject numeric strings, though, so that the content is proper yaml. Otherwise somebody else will do the same thing later.

What it cannot do is to allow the value to go through while corrupted.