Do not put back an unescaped token.
authorBob Halley <halley@dnspython.org>
Fri, 11 Apr 2014 15:04:45 +0000 (08:04 -0700)
committerBob Halley <halley@dnspython.org>
Fri, 11 Apr 2014 15:04:45 +0000 (08:04 -0700)
ChangeLog
dns/zone.py

index 6654bb1a8b7e01b9012d379043051f9c88cd4884..b41357278b741cec38bb7b557d55ffd8bea34798 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-04-11  Bob Halley  <halley@dnspython.org>
+
+       * dns/zone.py: Do not put back an unescaped token.  This was
+         causing escape processing for domain names to break.  Thanks to
+         connormclaud for reporting the problem.
+
 2014-04-04  Bob Halley  <halley@dnspython.org>
 
        * dns/message.py: Making a response didn't work correctly if the
index 9efcf437d748fa9d3f5d460925b46d384178726d..ab57148077f734c7907a9f72a3e689ed2f55deca 100644 (file)
@@ -813,7 +813,7 @@ class _MasterReader(object):
 
         try:
             while 1:
-                token = self.tok.get(True, True).unescape()
+                token = self.tok.get(True, True)
                 if token.is_eof():
                     if not self.current_file is None:
                         self.current_file.close()