[issue25723] ConfigParser should never write broken configurations

Terry J. Reedy report at bugs.python.org
Wed Nov 25 15:47:58 EST 2015


Terry J. Reedy added the comment:

Can you explain how passing \n createda vulnerability (to who, doing what) that flagging \n would prevent?  Your opening example (nicely presented, by the way) shows that passing \n allows one to do with one call what would otherwise take (in the case of the example) three calls. But the result is identical, so the shortcut seems harmless.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25723>
_______________________________________


More information about the Python-bugs-list mailing list