[darcs-devel] [issue1250] setpref boringfile can't handle newline
Tommy Pettersson
bugs at darcs.net
Wed Dec 3 21:12:34 UTC 2008
New submission from Tommy Pettersson <ptp at lysator.liu.se>:
darcs setpref boringfile 'foo\nbar'
where \n means newline
This inserts two lines in _darcs/prefs/prefs with bar on the second line, which
could mess up the prefs file.
I think it will be fine to simply refuse boringfiles with newlines in their names.
This bug is likely not limited to the boringfile pref, so other prefs that take
string values should be checked too.
----------
messages: 6766
nosy: dagit, dmitry.kurochkin, jaredj, kowey, simon, thorkilnaur, tommy
priority: bug
status: unread
title: setpref boringfile can't handle newline
topic: ProbablyEasy
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1250>
__________________________________
More information about the darcs-devel
mailing list