Node-solid-server: Normalise unicode for usernames

Created on 5 Nov 2018  路  5Comments  路  Source: solid/node-solid-server

See https://github.com/solid/node-solid-server/issues/824#issuecomment-436028869

Basically, follow the lead of Django (web framework, written in Python) when normalising the usernames for slugs.
This could please an international audience.

Unicode is hard, so use a lib (see linked comment).

enhancement priority-high

Most helpful comment

All 5 comments

Could you define username?

The characters used in the webid / subdomain should be alphanumeric with a dash, I think.

The nick and full names in the profile can be full unicode, and I think already are?

Unicode characters in URIs are a phishing vector. Responsible pod providers should avoid.

Unicode characters in URIs are a phishing vector.

Can you suggest any references?

Try a web search for homograph attack.

@melvincarvalho I learned, that the url is built like [username].[hostname].

@akuckartz I think, he's referring to typosquatting.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TallTed picture TallTed  路  4Comments

ludwigschubi picture ludwigschubi  路  3Comments

melvincarvalho picture melvincarvalho  路  4Comments

SvenDowideit picture SvenDowideit  路  6Comments

nicola picture nicola  路  4Comments