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

Bug#706778: debian-policy: Please explicitly forbid "-" at the start of Deb822 field names



Package: debian-policy
Severity: minor

Policy §5.1 states that:

"""
[...] The field name is composed of US-ASCII characters excluding
control characters, space, and colon (i.e., characters in the ranges
33-57 and 59-126, inclusive). Field names must not begin with the
comment character, #.
"""

This suggests that (e.g.)

  "-Field: value"

is a valid field.  Or (a bit more screwed):

  "-----BEGIN: PGP SIGNATURE-----"

would be the field "-----BEGIN" with a value of "PGP SIGNATURE-----".

I would like recommend that the Policy explicitly forbids the use of
"-" at the start of a field name.

~Niels


Reply to: