Misplaced Pages

Nameprep

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Nameprep" – news · newspapers · books · scholar · JSTOR (March 2024) (Learn how and when to remove this message)

Nameprep is the process of case-folding a string to lowercase and removal of some generally invisible code points before it is suitable to represent a domain name, or other such canonical name. It is used by the Internationalizing Domain Names in Applications (IDNA) standard, using the Unicode standard for NFKC normalization.

Nameprep is defined in RFC 3491, "Nameprep: A Stringprep Profile for Internationalized Domain Names (IDN)", as a profile of stringprep, which is described in RFC 3454, "Preparation of Internationalized Strings ("stringprep")".

It does not map lookalike characters to a single character nor prohibit the use of lookalike characters. There are good reasons for this, such as the fact that same sets of characters may be lookalikes in some fonts but not in others, and the fact that any decision on which character to map to will obviously provide a bias towards users of one script; but it also has potentially grave implications for security if not considered by the designers and administrators of systems based on nameprep (the best known example of this being VeriSign's handling of IDNA names in .com and .net).

See also

References

  1. Hoffman, Paul E.; Blanchet, Marc (March 2003). "RFC 3491". Retrieved 8 March 2024.
  2. Hoffman, Paul E.; Blanchet, Marc (January 2003). "RFC 3454". Retrieved 8 March 2024.


Stub icon

This World Wide Web–related article is a stub. You can help Misplaced Pages by expanding it.

Categories: