On Tue, Jan 28, 2020 at 12:19 AM Miroslav Zagorac <miros...@zagorac.name>
wrote:

> On 01/28/2020 12:02 AM, Baptiste wrote:
> > On Sun, Jan 26, 2020 at 7:53 PM William Dauchy<w.dau...@criteo.com>
> wrote:
> >
> >> hostname were limited to 62 char, which is not RFC1035 compliant;
> >> - the parsing loop should stop when above max label char
> >> - fix len label test where d[i] was wrongly used
> >> - simplify the whole function to avoid using two extra char* variable
> >>
> >> this should fix github issue #387
> >>  ...
> >
> > This patch is "approved".
> > Willy, you can apply.
> >
> > Baptiste
> >
>
> Hello,
>
> whether in this function is sufficient to check the length of the label
> and its contents (uppercase and lowercase letters, numbers and hyphen)
> or whether RFC1035 should be followed where it states the following:
>
> "The labels must follow the rules for ARPANET host names.  They must
> start with a letter, end with a letter or digit, and have as interior
> characters only letters, digits, and hyphen.  There are also some
> restrictions on the length.  Labels must be 63 characters or less."
>
> --
> Zaga    <miros...@zagorac.name>
>
> What can change the nature of a man?
>


Thanks Miroslav for the feedback.
I am creating a github issue with this content so we can track it.

Baptiste

Reply via email to