> RFC 952 specifies that an LDH (Letter-Digit-Hyphen) label may only end with a > letter or digit. We should remove hyphens from the set of permissible > terminal characters in a label. > > Also see: > https://www.icann.org/en/announcements/details/comment-concerning-trailing-hyphen-domain-names-7-1-2000-en > > Also adding size checks while we touch this file. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Artur Barashev has updated the pull request incrementally with one additional commit since the last revision: Simplify code. Update comments. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/30628/files - new: https://git.openjdk.org/jdk/pull/30628/files/7e69e300..8a878992 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=30628&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30628&range=02-03 Stats: 11 lines in 1 file changed: 3 ins; 4 del; 4 mod Patch: https://git.openjdk.org/jdk/pull/30628.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30628/head:pull/30628 PR: https://git.openjdk.org/jdk/pull/30628
