mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Unit tests for ns1 escape handling and fix
This commit is contained in:
@@ -154,7 +154,7 @@ class Ns1Provider(BaseProvider):
|
||||
# NS1 seems to be the only provider that doesn't want things escaped in
|
||||
# values so we have to strip them here and add them when going the
|
||||
# other way
|
||||
values = [v.replace('\\', '') for v in record.values]
|
||||
values = [v.replace('\;', ';') for v in record.values]
|
||||
return {'answers': values, 'ttl': record.ttl}
|
||||
|
||||
_params_for_TXT = _params_for_SPF
|
||||
|
||||
Reference in New Issue
Block a user