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
Documenting an edge case for future users: if a sentence starts with a URL and contains a path, any literal spaces are considered valid and the full sentence will be considered a valid URL. This is technically a valid URL which your browser will encode for you upon navigation. The URL implementation allows for it as unencoded input.
constisUrl=require('is-url-superb')isUrl('https://github.com/sindresorhus/is-url-superb is the repo for an npm package to validate URLs.')// => true
The text was updated successfully, but these errors were encountered:
Documenting an edge case for future users: if a sentence starts with a URL and contains a path, any literal spaces are considered valid and the full sentence will be considered a valid URL. This is technically a valid URL which your browser will encode for you upon navigation. The
URL
implementation allows for it as unencoded input.The text was updated successfully, but these errors were encountered: