You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scala-uri currently parses this as a path rather than a host, because it is a valid path. Example: https://who.is/whois/mydomain.com - this page could have a <a href="mydomain.com"> and browsers treat that as a path, not a host. For it to be treated as a host, you need to prepend with a scheme.
This all said, /path and path are different URIs, so it is a bug that the slash is prepended :)
Is it normal that urls without protocol (actually domain names) are preprended with '/' ?
I added the following test
and uri.toString = "/mydomain.com"
The text was updated successfully, but these errors were encountered: