Skip to content

Commit

Permalink
Merge pull request #1618 from bluewave-labs/fix/monitor-validation-regex
Browse files Browse the repository at this point in the history
fix: remove local IP address exclusion from moniotr validation regex
  • Loading branch information
ajhollid authored Jan 23, 2025
2 parents 96b408d + 35fa327 commit 8ff101d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Client/src/Validation/validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ff101d

Please sign in to comment.