mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Main repository for pfSense
Improvements: 1) avoids 'expensive' preg_match() and is a more exact test 2) fixes logic whereby an empty string or anything converted to an empty string, is deemed a valid 'numeric' value (If an empty string can validate as numeric, it's possible that in some cases a number is expected and missing in a string, but not detected, causing malformed rules or subnet bitcounts, and unexpected issues or vulnerabilities) -- also moved code to a more logical place in the .inc while doing this, not mixed in between IP handling functions |
||
|---|---|---|
| boot | ||
| cf/conf | ||
| conf.default | ||
| etc | ||
| root | ||
| sbin | ||
| tmp | ||
| usr | ||
| .gitattributes | ||
| .gitignore | ||