From 9eeb9c7159107f66e0ffd9a850344566c0d8976d Mon Sep 17 00:00:00 2001 From: Marco d'Itri Date: Thu, 26 Dec 2013 09:07:41 +0100 Subject: [PATCH] make_tld_serv.pl: fix hex escape sequences C hexadecimal escape sequences are actually defined as \x followed by *any* number of hexadecimal digits. --- make_tld_serv.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_tld_serv.pl b/make_tld_serv.pl index 1d4b72f..60d557c 100755 --- a/make_tld_serv.pl +++ b/make_tld_serv.pl @@ -13,7 +13,7 @@ while (<>) { (my ($a, $b) = /^([\w\d\.-]+)\s+([\w\d\.:-]+|[A-Z]+\s+.*)$/); $b =~ s/^W(?:EB)?\s+/\\x01/; - $b =~ s/^VERISIGN\s+/\\x04/; + $b =~ s/^VERISIGN\s+/\\x04" "/; $b = "\\x03" if $b eq 'NONE'; $b = "\\x08" if $b eq 'AFILIAS'; $b = "\\x0C" if $b eq 'ARPA';