whoisd: replace spaces with - in field names
This commit is contained in:
parent
c2f4276f78
commit
04fe44da9a
|
@ -52,7 +52,7 @@ class WhoisHandler(socketserver.BaseRequestHandler):
|
||||||
]
|
]
|
||||||
|
|
||||||
for field, value in getWhoisObjectFields(obj, False):
|
for field, value in getWhoisObjectFields(obj, False):
|
||||||
fieldName = field.lower().replace(" ", "_") + ":"
|
fieldName = field.lower().replace(" ", "-") + ":"
|
||||||
if not value:
|
if not value:
|
||||||
value = ""
|
value = ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue