summaryrefslogtreecommitdiffstats
path: root/etc/inc/easyrule.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-01-06 13:46:13 -0500
committerjim-p <jimp@pfsense.org>2011-01-06 13:52:52 -0500
commitd865241eddda66e39cea4e1408171f83d593b3d2 (patch)
tree3bf3ecfc5b80e7f65aa130603110fe5dac45ecc5 /etc/inc/easyrule.inc
parent19e76a0bdb03bc3e6b6453289844e14e9aa70f5e (diff)
downloadpfsense-d865241eddda66e39cea4e1408171f83d593b3d2.zip
pfsense-d865241eddda66e39cea4e1408171f83d593b3d2.tar.gz
Don't run mb_convert_encoding on descr field, it's cdata protected in the config now and this just causes some characters to be lost on input. Ticket #1168
Diffstat (limited to 'etc/inc/easyrule.inc')
-rw-r--r--etc/inc/easyrule.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/easyrule.inc b/etc/inc/easyrule.inc
index 0679060..c62f76b 100644
--- a/etc/inc/easyrule.inc
+++ b/etc/inc/easyrule.inc
@@ -166,7 +166,7 @@ function easyrule_block_alias_add($host, $int = 'wan') {
/* Create a new alias with all the proper information */
$alias['name'] = $blockaliasname . strtoupper($int);
$alias['type'] = 'network';
- $alias['descr'] = mb_convert_encoding("Hosts blocked from Firewall Log view","HTML-ENTITIES","auto");
+ $alias['descr'] = "Hosts blocked from Firewall Log view";
$alias['address'] = $host . '/32';
$alias['detail'] = 'Entry added ' . date('r') . '||';
OpenPOWER on IntegriCloud