RFC Errata
RFC 7208, "Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1", April 2014
Source of RFC: spfbis (app)
Errata ID: 4453
Status: Held for Document Update
Type: Editorial
Publication Format(s) : TEXT
Reported By: Seymour J. Metz
Date Reported: 2015-08-24
Held for Document Update by: Barry Leiba
Date Held: 2015-08-24
Section 5.6. "ip4" says:
ip4-cidr-length = "/" ("0" / %x31-39 0*1DIGIT) ; value range 0-32 ip6-cidr-length = "/" ("0" / %x31-39 0*2DIGIT) ; value range 0-128
It should say:
ip4-cidr-length = "/" (DIGIT / %x31-%x32 DIGIT / %x33 %x30-%x32) ; value range 0-32 ip6-cidr-length = "/" ("0" / %31-%39 0*1DIGIT / "1" %30-%31 DIGIT / "12" %30-%38) ; value range 0-128
Notes:
As written the ABNF matches ranges 0-99 and 0-999, not the ranges in the comments.
Note: I coded the ABNF the way that I did to avoid leading zeros.
----- Verifier Notes -----
This isn't documenting an error: the ABNF was specified as it was intentionally, using the comments to restrict the range. I'm marking this "Held for Document Update" in case we ever revise this and want to consider making the ABNF pickier.