gnunet-developers
[Top][All Lists]
Advanced

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

Re: LSD0001 review


From: Maxime Devos
Subject: Re: LSD0001 review
Date: Mon, 07 Feb 2022 20:12:56 +0100
User-agent: Evolution 3.38.3-1

Schanzenbach, Martin schreef op ma 07-02-2022 om 19:02 [+0000]:
> > > LEGACY HOSTNAME
> > >     A UTF-8 string (which is not 0-terminated) representing the
> > > legacy hostname.
> > 
> > What happens if it contaings \0, or ends with two dots, does that
> mean
> > the LEHO record is invalid and must be rejected?  If it is in
> punycode,
> > why say ‘A UTF-8 string’ instead of ’an ASCII string’?
> 
> It is not in punycode. It is just a UTF-8 string.
> Why is it not 0-terminated? TBH I am not sure, probably to save a
> byte :)

A follow-up question: LEGACY HOSTNAME can be an UTF-8 string, not in
punycode.  But can it be in punycode, even though that is not
necessary?  Should punycode be forbidden here, in favour of UTF-8?

Greetings,
Maxime.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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