CC: | felipe [...] felipegasper.com |
Subject: | _build_char_str_list() kills \DDD |
RFC 1035 describes being able to encode any octet using \DDD, where DDD
is a 3-digit decimal sequence corresponding to the octet.
_build_char_str_list() executes Text::ParseWords::shellwords() on each
line of the zone file. shellwords(), though, gets rid of the backslash
in a string like: hello\059
A reasonable solution seems to be to use:
quotewords( '\s+', 1, $line )
…instead of shellwords. This preserves the \ and allows for full(er)
support of the RFC spec.