aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_rules_flowbits.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-06-19 17:01:59 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-06-19 17:01:59 -0300
commit35b75b9b94a3f63c358c34fe98ee5ad7f7004a62 (patch)
tree43a9ae97c4bef12750350895177ed76674650abf /config/suricata/suricata_rules_flowbits.php
parent6048cbcf1b2e2029250f9eb5fe166627c89398fd (diff)
downloadpfsense-packages-35b75b9b94a3f63c358c34fe98ee5ad7f7004a62.tar.gz
pfsense-packages-35b75b9b94a3f63c358c34fe98ee5ad7f7004a62.tar.bz2
pfsense-packages-35b75b9b94a3f63c358c34fe98ee5ad7f7004a62.zip
Replicate last snort changes from 6048cbcf1 to suricata
Diffstat (limited to 'config/suricata/suricata_rules_flowbits.php')
-rw-r--r--config/suricata/suricata_rules_flowbits.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/suricata/suricata_rules_flowbits.php b/config/suricata/suricata_rules_flowbits.php
index c5193a8b..f266875c 100644
--- a/config/suricata/suricata_rules_flowbits.php
+++ b/config/suricata/suricata_rules_flowbits.php
@@ -65,7 +65,7 @@ if (is_null($id)) {
// Set who called us so we can return to the correct page with
// the RETURN ('cancel') button.
-if ($_POST['referrer'])
+if ($_POST['referrer'] && substr($_POST['referrer'], 0, 1) == '/')
$referrer = $_POST['referrer'];
else
$referrer = $_SERVER['HTTP_REFERER'];