Merge pull request #1619 from bluewave-labs/develop

Develop -> Master hotfix: monitor validation regex
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-01-23 11:42:50 -08:00
commit cd082d1e9d
1 file changed
-5
-5
View File
@@ -103,11 +103,6 @@ const monitorValidation = joi.object({
"(?:(?:https?|ftp):\\/\\/)?" +
// user:pass BasicAuth (optional)
"(?:" +
// IP address exclusion
// private & local networks
"(?!(?:10|127)(?:\\.\\d{1,3}){3})" +
"(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})" +
"(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})" +
// IP address dotted notation octets
// excludes loopback network 0.0.0.0
// excludes reserved space >= 224.0.0.0