Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cloudinit/distros/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ def _sanitize_mirror_url(url: str):
* Converts it to its IDN form (see below for details)
* Replaces any non-Letters/Digits/Hyphen (LDH) characters in it with
hyphens
* TODO: Remove any leading/trailing hyphens from each domain name label
* Removes any leading/trailing hyphens from each domain name label

Before we replace any invalid domain name characters, we first need to
ensure that any valid non-ASCII characters in the hostname will not be
Expand Down