From: Schanzenbach, Martin Date: Fri, 17 May 2019 11:19:14 +0000 (+0200) Subject: revert check for @; this does not seem right for names starting with it X-Git-Tag: v0.11.5~62 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=080f3893fffe623d83a2e9f2048870415b4a80bd;p=oweals%2Fgnunet.git revert check for @; this does not seem right for names starting with it --- diff --git a/src/util/dnsparser.c b/src/util/dnsparser.c index 0e830170e..699f9d592 100644 --- a/src/util/dnsparser.c +++ b/src/util/dnsparser.c @@ -60,9 +60,6 @@ GNUNET_DNSPARSER_check_label (const char *label) if (NULL != strchr (label, '.')) return GNUNET_SYSERR; /* not a label! Did you mean GNUNET_DNSPARSER_check_name? */ - if (0 == strcmp (label, "@")) - return GNUNET_SYSERR; /* '@' is reserved for the empty label, - see #GNUNET_GNS_EMPTY_LABEL_AT */ if (IDNA_SUCCESS != idna_to_ascii_8z (label, &output, IDNA_ALLOW_UNASSIGNED)) return GNUNET_SYSERR; slen = strlen (output);