[opendmarc-dev] Bug #8: Forgiving errant "\" characters

Murray S. Kucherawy msk at blackops.org
Mon Jul 30 13:41:25 PDT 2012


During the interop event, a tester suggested we consider tolerating errant 
backslashes in DNS records that we retrieve and process.

These contradict the specification but may be common errors.  The source 
of these is the output of commands like "dig" and "host", which add 
backslashes before semicolons for some reason (probably because unquoted 
semicolons are comment characters in zone files).

For example:

medusa[8745]% host -t txt _dmarc.dmarc.org.
_dmarc.dmarc.org descriptive text "v=DMARC1\; p=none\; pct=100\; 
rua=mailto:reports at dmarc.org\; ruf=mailto:reports at dmarc.org"

The semicolons are not actually there in the DNS data, but this client 
shows them anyway, which apparently confuses some people into thinking 
they're needed.

My inclination is to stick to the specification, and just help people when 
they get it wrong.  Does anyone have a strong feeling in support of this 
request?

-MSK


More information about the opendmarc-dev mailing list