Patch Changes
-
Fixed
createHref()so optional route params set tonullare omitted instead of serialized as"null", and empty pathname variables throw instead of generating hrefs that cannot match their pattern. -
Fixed route matching so malformed percent-encoded pathnames return no match instead of throwing a
URIError. -
Fixed route matching for full URL patterns that include explicit default ports such as
http://example.com:80/pathandhttps://example.com:443/path(see #11510).