From 04fe44da9ae2fb7ebf0b2be89e53a6fbad593fd8 Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: Sat, 15 Apr 2017 16:50:41 +0200 Subject: [PATCH] whoisd: replace spaces with - in field names --- bin/whoisd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/whoisd b/bin/whoisd index 30b1a5d..cf7143b 100755 --- a/bin/whoisd +++ b/bin/whoisd @@ -52,7 +52,7 @@ class WhoisHandler(socketserver.BaseRequestHandler): ] for field, value in getWhoisObjectFields(obj, False): - fieldName = field.lower().replace(" ", "_") + ":" + fieldName = field.lower().replace(" ", "-") + ":" if not value: value = ""