Version 4.1.1
This version fixes empty label handling, e.g. in inputs such as xn--4-0bd15808a.
which consist of one label "xn--4-0bd15808a"
followed by another label ""
.
Published specifications are ambiguous on this; TR 46 calls RFC 5893's "The Bidi Rule", which assumes all labels are nonempty. Previously, tr46
operations would fail on such inputs. Now, they behave like browsers do, and pass through the empty labels. This feedback has been given to the TR 46 authors as part of whatwg/url#744.