mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 12:08:40 +02:00
remove all whitespace from ip addresses
This commit is contained in:
parent
00f5c8fc81
commit
f928bc4da4
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ class DomainNameserversView(DomainFormBaseView):
|
|||
# Remove any leading or trailing whitespace from each IP in the list
|
||||
# this will return [] if no ips have been entered, which is taken
|
||||
# into account in the model in checkHostIPCombo
|
||||
ip_list = [ip.strip() for ip in ip_list]
|
||||
ip_list = [ip.replace(" ", "") for ip in ip_list]
|
||||
|
||||
as_tuple = (
|
||||
form.cleaned_data["server"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue