This PR adds a linked-on-or-after check for apps which pass an empty string to URL(string:), which previously returned nil. The new URL(string:) implementations allow the empty string as input since an empty path is valid and can be resolved against a base URL. This is shown in the RFC 3986 examples: https://datatracker.ietf.org/doc/html/rfc3986#section-5.4.1
This PR adds a linked-on-or-after check for apps which pass an empty string to
URL(string:)
, which previously returnednil
. The newURL(string:)
implementations allow the empty string as input since an empty path is valid and can be resolved against a base URL. This is shown in the RFC 3986 examples: https://datatracker.ietf.org/doc/html/rfc3986#section-5.4.1