[Aptitude-devel] Bug#792601: aptitude: newline in user tags breaks pkgstates file

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Thu Dec 3 16:03:25 UTC 2015


2015-12-03 15:41 GMT+00:00 Badalisc <badalisc7 at thewayofunix.org>:
> On 2015-12-03 02:01, Manuel A. Fernandez Montecelo wrote:
>>
>> I am fixing this by forbidding to use non-graphic characters (so,
>> excluding control and spaces).  I think that it's a reasonable
>> requirement for "tags".
>
>
> It seems like a sensible solution, I would suggest to forbid the empty
> string as a tag name too. Thanks!

Yes, empty to be invalid as well, thanks for the reminder!

It would be very nice if you can check this again once it's released
(in principle within days or few weeks), and reopen the bug if there's
a related problem still lingering.


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list