aboutsummaryrefslogtreecommitdiffstats
path: root/config/varnish64/varnish_settings.xml
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-04-27 22:08:53 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-04-27 22:08:53 -0400
commit63f0333cf8e2832126c225f464e6613bb40693bd (patch)
treeef4987658915f6d2841a6a4f8017772d9c787e77 /config/varnish64/varnish_settings.xml
parent89ad7b0561c17ef6ca35cf7d599d7b61790e0c2e (diff)
downloadpfsense-packages-63f0333cf8e2832126c225f464e6613bb40693bd.tar.gz
pfsense-packages-63f0333cf8e2832126c225f464e6613bb40693bd.tar.bz2
pfsense-packages-63f0333cf8e2832126c225f464e6613bb40693bd.zip
Add input validation for the settings page
Diffstat (limited to 'config/varnish64/varnish_settings.xml')
-rw-r--r--config/varnish64/varnish_settings.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/varnish64/varnish_settings.xml b/config/varnish64/varnish_settings.xml
index 82f1fa18..c3304c1a 100644
--- a/config/varnish64/varnish_settings.xml
+++ b/config/varnish64/varnish_settings.xml
@@ -120,4 +120,7 @@
sync_package_varnish();
varnish_start();
</custom_php_resync_config_command>
+ <custom_php_validation_command>
+ varnish_settings_post_validate($_POST, &amp;$input_errors);
+ </custom_php_validation_command>
</packagegui> \ No newline at end of file