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
The URL regex is both too restrictive and too lenient.
It does not consider domain names without a TLD valid, which are used in both docker and kubernetes, e.g. http://my-internal-api/some-path. It also doesn't allow an URL that contains an ip: http://127.0.0.1:3000 or http://localhost:3000. Both examples are very common, especially during development.
At the same time, the following url is considered valid: http://.com/
My suggestion is choose a different regex.
The text was updated successfully, but these errors were encountered:
The URL regex is both too restrictive and too lenient.
It does not consider domain names without a TLD valid, which are used in both docker and kubernetes, e.g.
http://my-internal-api/some-path
. It also doesn't allow an URL that contains an ip:http://127.0.0.1:3000
orhttp://localhost:3000
. Both examples are very common, especially during development.At the same time, the following url is considered valid:
http://.com/
My suggestion is choose a different regex.
The text was updated successfully, but these errors were encountered: