[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1064454: debian-policy: Restrict deb822 field names more



On Thu, 22 Feb 2024 14:08:38 +0100, Simon Josefsson wrote:

> Would it make sense to change this to use an inclusive list of permitted
> characters instead?  How about checking the field names that is in use
> today, and construct a regexp of permitted symbols out of that?
> Starting point: [A-Za-z][A-Za-z0-9-_]*

Right, also: defining this as a regexp would be helpful for
implementation in all parsers (and I suspect there are many of them
…).


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   

Attachment: signature.asc
Description: Digital Signature


Reply to: