From eae53a11694a38d6932645f0ddd46fb67f93e2e8 Mon Sep 17 00:00:00 2001
From: Andy Seaborne
Date: Fri, 7 Feb 2025 21:17:36 +0000
Subject: [PATCH] Revise IRI advice after i18n input
---
spec/index.html | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/spec/index.html b/spec/index.html
index 3c94928..3fd6372 100644
--- a/spec/index.html
+++ b/spec/index.html
@@ -664,9 +664,13 @@ IRIs
- - Use lowercase characters in scheme names and domain names.
- - Only use percent-encoding of characters where
- necessary for IRI syntax.
+ - Use lowercase characters in scheme names.
+ - Use lowercase characters in domain names.
+ Note that while ASCII characters in domain names are case-insensitive
+ non-ASCII characters in domain names are case-sensitive [[RFC5890]].
+ Domains are generally only registered with lowercase letters [[RFC5892]].
+
+ - Only use percent-encoding of characters where required by the IRI syntax.
- Omit the HTTP or HTTPS default port;
http://example/
is preferred over http://example:80/
.
- Use uppercase hexadecimal letters within percent-encoding
@@ -677,8 +681,9 @@
IRIs
having no path http://example
.
- Normalize IRIs to remove "
/./
" and "/../
" in the path
component of an IRI.
- - Avoid using punycode-encoding of Internationalized Domain Names
- in IRIs [[RFC5890]].
+ - Avoid using the
+ A-label
+ (ASCII, punycode-encoded name]) for Internationalized Domain Names [[RFC5890]] in IRIs.
- Use IRIs in Unicode [=Normalization Form C=] [[I18N-Glossary]].