From: Charles Plessy
Date: Mon, 16 Sep 2013 02:30:41 +0000 (+0900)
Subject: Policy: Control data fields must not start with a hyphen character.
X-Git-Url: https://git.donarmstrong.com/?p=debian%2Fdebian-policy.git;a=commitdiff_plain;h=3f8d49a4954829de32d125faf8cc5db0836100b2
Policy: Control data fields must not start with a hyphen character.
Wording: Niels Thykier
Seconded: Russ Allbery
Seconded: Guillem Jover
Closes: #706778
---
diff --git a/debian/changelog b/debian/changelog
index 0ef998e..b26d706 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -54,6 +54,11 @@ debian-policy (3.9.5.0) UNRELEASED; urgency=low
Seconded: Jonathan Nieder
Seconded: Charles Plessy
Closes: #707077
+ * Policy: Control data fields must not start with a hyphen character.
+ Wording: Niels Thykier
+ Seconded: Russ Allbery
+ Seconded: Guillem Jover
+ Closes: #706778
* debconf_spec: Document the 'escape' capability.
Wording: Jonathan Nieder
Seconded: Charles Plessy
diff --git a/policy.sgml b/policy.sgml
index 138d320..dad8d23 100644
--- a/policy.sgml
+++ b/policy.sgml
@@ -2542,7 +2542,7 @@ endif
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, #.
+ character, #, nor with the hyphen character, -.
diff --git a/upgrading-checklist.sgml b/upgrading-checklist.sgml
index a167bcb..b024454 100644
--- a/upgrading-checklist.sgml
+++ b/upgrading-checklist.sgml
@@ -40,6 +40,11 @@ picking your way through this list.
Unreleased.
+5.1
+ - Control data fields must not start with the hyphen character
+ (-), to avoid potential confusions when parsing clearsigned control
+ data files that were not properly unescaped.
+
5.4, 5.6.24
- Checksums-Sha1 and Checksums-Sha256 are now
mandatory in .dsc files.