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
Describe the bug
The host_whitelist option for isURL requires the input to pass all other requirements, which seems to defeat the purpose of a whitelist.
Describe the bug
The
host_whitelist
option forisURL
requires the input to pass all other requirements, which seems to defeat the purpose of a whitelist.Examples
Validator.isURL('localhost', { host_whitelist: ['localhost'] }) => false
Additional context
Validator.js version: 13.6
Node.js version: 14.7.6
OS platform: linux
The text was updated successfully, but these errors were encountered: