Skip to content

Commit

Permalink
Revise IRI advice after i18n input
Browse files Browse the repository at this point in the history
  • Loading branch information
afs committed Feb 7, 2025
1 parent cbfe5f4 commit eae53a1
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -664,9 +664,13 @@ <h3>IRIs</h3>
</p>

<ul>
<li>Use lowercase characters in scheme names and domain names.</li>
<li>Only use percent-encoding of characters where
necessary for IRI syntax.</li>
<li>Use lowercase characters in scheme names.</li>
<li>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]].
</li>
<li>Only use percent-encoding of characters where required by the IRI syntax.</li>
<li>Omit the HTTP or HTTPS default port; <code>http://example/</code>
is preferred over <code>http://example:80/</code>.</li>
<li>Use uppercase hexadecimal letters within percent-encoding
Expand All @@ -677,8 +681,9 @@ <h3>IRIs</h3>
having no path <code>http://example</code>.</li>
<li>Normalize IRIs to remove "<code>/./</code>" and "<code>/../</code>" in the path
component of an IRI.</li>
<li>Avoid using punycode-encoding of Internationalized Domain Names
in IRIs [[RFC5890]].</li>
<li>Avoid using the
<a href="https://datatracker.ietf.org/doc/html/rfc5890#section-2.3.2.1">A-label</a>
(ASCII, punycode-encoded name]) for Internationalized Domain Names [[RFC5890]] in IRIs.</li>
<li>Use IRIs in Unicode [=Normalization Form C=] [[I18N-Glossary]].</li>
</ul>
</div>
Expand Down

0 comments on commit eae53a1

Please sign in to comment.