diff options
author | uberj <uberj@onid.orst.edu> | 2012-05-22 10:55:57 -0700 |
---|---|---|
committer | uberj <uberj@onid.orst.edu> | 2012-05-22 10:55:57 -0700 |
commit | ee8ef8bef9d6b01bc2c66fa9aa49651f626ef306 (patch) | |
tree | 7958e6e362337abfb4cdf973dea9be81682d1ec8 | |
parent | d65a7a8f7d23c3d4219364069bdd41f19c8215f9 (diff) | |
download | dnspython-ee8ef8bef9d6b01bc2c66fa9aa49651f626ef306.tar.gz |
This patch changes the parser to allow file names used in an $INCLUDE statement to not have surrounding quotes.
RFC 1035 doesn't explicitly say that the file name must be surrounded by quotes and bind supports the no quote format.
-rw-r--r-- | dns/zone.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/dns/zone.py b/dns/zone.py index ac16ad3..404f818 100644 --- a/dns/zone.py +++ b/dns/zone.py @@ -682,8 +682,6 @@ class _MasterReader(object): self.zone.origin = self.current_origin elif u == '$INCLUDE' and self.allow_include: token = self.tok.get() - if not token.is_quoted_string(): - raise dns.exception.SyntaxError("bad filename in $INCLUDE") filename = token.value token = self.tok.get() if token.is_identifier(): |