gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: revert check for @; this do


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: revert check for @; this does not seem right for names starting with it
Date: Fri, 17 May 2019 13:19:42 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 080f3893f revert check for @; this does not seem right for names 
starting with it
080f3893f is described below

commit 080f3893fffe623d83a2e9f2048870415b4a80bd
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Fri May 17 13:19:14 2019 +0200

    revert check for @; this does not seem right for names starting with it
---
 src/util/dnsparser.c | 3 ---
 1 file changed, 3 deletions(-)

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);

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]