Merge pull request #7335 from napkindrawing/patch-1

Route53 module handling of domains with "*" is broken
pull/5831/merge
James Cammarata 11 years ago
commit 1a52fcce03

@ -223,7 +223,7 @@ def main():
# Due to a bug in either AWS or Boto, "special" characters are returned as octals, preventing round # Due to a bug in either AWS or Boto, "special" characters are returned as octals, preventing round
# tripping of things like * and @. # tripping of things like * and @.
decoded_name = rset.name.replace(r'\052', '*') decoded_name = rset.name.replace(r'\052', '*')
decoded_name = rset.name.replace(r'\100', '@') decoded_name = decoded_name.replace(r'\100', '@')
if rset.type == type_in and decoded_name == record_in: if rset.type == type_in and decoded_name == record_in:
found_record = True found_record = True

Loading…
Cancel
Save