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
When parsing a URL like "linkedin.com", the url object will add a default scheme of 'http' if one is not detected: URL.getScheme()
I can understand why some defaults were included but it would be nice if this behavior could be configured. I need to know whether the original input text contained the scheme.
I can always do something like url.getOriginalUrl().startsWith(url.getScheme()) but I don't want to have to do that everywhere.
The text was updated successfully, but these errors were encountered:
When parsing a URL like "linkedin.com", the url object will add a default scheme of 'http' if one is not detected: URL.getScheme()
I can understand why some defaults were included but it would be nice if this behavior could be configured. I need to know whether the original input text contained the scheme.
I can always do something like url.getOriginalUrl().startsWith(url.getScheme()) but I don't want to have to do that everywhere.
The text was updated successfully, but these errors were encountered: