mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix to unescape * was discarded by unescape of @
`decoded_name` was created twice, each from `rset.name` So, the second call to `.replace(r'\100', '@')` overwrites decoded_name, discarding the result of the call to `.replace(r'\052', '*')` I had a problem with wildcard domains that was fixed by this patch.
This commit is contained in:
parent
2e2e5d5321
commit
011ec5d9e6
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ def main():
|
|||
# Due to a bug in either AWS or Boto, "special" characters are returned as octals, preventing round
|
||||
# tripping of things like * and @.
|
||||
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:
|
||||
found_record = True
|
||||
|
|
Loading…
Reference in a new issue