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
* Fix valid domain regex
Based on https://gist.github.com/dperini/729294
Stripped the following checks:
- protocol (http, ftp)
- short syntax (//)
- basic auth (user:pass)
- requirement for TLD (\. made optional)
- port number (:port)
- resource path (/path, #resource-path)
* Revert Regex to just support localhost
* Prevent matching only a few octets of the ip
https://regexr.com/56tso
* Add ipv4 regex
* Add error for ip addresses
* Add missing }
Co-authored-by: Jeremy Albright <1935258+Js-Brecht@users.noreply.github.com>
Co-authored-by: Jeremy Albright <1935258+Js-Brecht@users.noreply.github.com>
0 commit comments