summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_aliases_import.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@world.inf.org>2014-01-07 06:59:09 -0800
committerPhil Davis <phil.davis@world.inf.org>2014-01-07 06:59:09 -0800
commit244456913632715ab777e34b056ecf5c440c2ce4 (patch)
treeff430a752fecde62bcc0ed3a8c70a1e249ed7f01 /usr/local/www/firewall_aliases_import.php
parent6b6607316481aacaa055f8e4bce2ce1e520d3b1b (diff)
downloadpfsense-244456913632715ab777e34b056ecf5c440c2ce4.zip
pfsense-244456913632715ab777e34b056ecf5c440c2ce4.tar.gz
Check for vertical bars in alias detail descriptions
The descriptions of each entry in an alias are stored in config.xml as a list delimited by "||". So you cannot have "||" in the actual description (or the description effectively splits into the next entry). Also you cannot start or end the description with "|" or it will be very confusing having the config with "|||" in it. This code validates all that sort of invalid input.
Diffstat (limited to 'usr/local/www/firewall_aliases_import.php')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud