> 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.
Artur Barashev has updated the pull request incrementally with one additional commit since the last revision: Check each label for the start/end hyphen. Add size checks. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/30628/files - new: https://git.openjdk.org/jdk/pull/30628/files/e7d2de35..b42e89a6 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=30628&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30628&range=00-01 Stats: 78 lines in 2 files changed: 25 ins; 8 del; 45 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
