View Issue Details

IDProjectCategoryView StatusLast Update
0005927GNUnetGNSpublic2019-10-10 18:30
ReporterdvnAssigned Toschanzen 
PriorityhighSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version 
Target Version0.12.0Fixed in Version 
Summary0005927: GNS/nss plugin fails on invalid IDN names
DescriptionWhen using a video downloading utility I became aware of some "interesting" domain names...

eg. 'r6---sn-5go7ynez.googlevideo.com'

Haven't looked into it much, but apparently google isn't the only one using domains like this breaking the "double-hyphen" standard.

With the nss plugin enabled:

`r6---sn-5go7yn7s.googlevideo.com' is not a valid domain name"

TagsNo tags attached.

Relationships

related to 0005922 new Switch label processing to UTF-8 

Activities

schanzen

2019-10-10 15:37

developer   ~0014992

Looking at the code it is not GNS that nags here, but libidn. This simply is not a valid domain name for IDNA-aware applications (or resolvers in this case).
See https://tools.ietf.org/html/rfc5890#section-2.3.1 second paragraph.

schanzen

2019-10-10 16:19

developer   ~0014993

Also this seems to be a specific issue with IDN2. It works for IDN1.

schanzen

2019-10-10 18:29

developer   ~0014994

For LSD001, this check will likely be removed alltogether.

Issue History

Date Modified Username Field Change
2019-10-10 07:03 dvn New Issue
2019-10-10 07:03 dvn Status new => assigned
2019-10-10 07:03 dvn Assigned To => Christian Grothoff
2019-10-10 15:37 schanzen Note Added: 0014992
2019-10-10 16:19 schanzen Note Added: 0014993
2019-10-10 18:29 schanzen Note Added: 0014994
2019-10-10 18:29 schanzen Relationship added related to 0005920
2019-10-10 18:30 schanzen Relationship added related to 0005922
2019-10-10 18:30 schanzen Relationship deleted related to 0005920
2019-10-10 18:30 schanzen Target Version => 0.12.0
2019-10-10 18:30 schanzen Assigned To Christian Grothoff => schanzen