diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2014-03-14 20:40:03 +0100 |
---|---|---|
committer | PiBa-NL <pba_2k3@yahoo.com> | 2014-03-14 20:40:03 +0100 |
commit | 4505f0c18e3ecf837063d9b9711999cfdd17d12e (patch) | |
tree | d1cffd049ca2bcd19d73c8290c17f2eebab23398 /config/haproxy-devel/haproxy_listeners.php | |
parent | 02f1cef4b3a8a980e204b895590c7a4c8509aceb (diff) | |
download | pfsense-packages-4505f0c18e3ecf837063d9b9711999cfdd17d12e.tar.gz pfsense-packages-4505f0c18e3ecf837063d9b9711999cfdd17d12e.tar.bz2 pfsense-packages-4505f0c18e3ecf837063d9b9711999cfdd17d12e.zip |
haproxy-devel, support for port-aliasses, using htmlspecialchars where needed
Diffstat (limited to 'config/haproxy-devel/haproxy_listeners.php')
-rw-r--r-- | config/haproxy-devel/haproxy_listeners.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/haproxy-devel/haproxy_listeners.php b/config/haproxy-devel/haproxy_listeners.php index 2a1f12e6..f5d262e0 100644 --- a/config/haproxy-devel/haproxy_listeners.php +++ b/config/haproxy-devel/haproxy_listeners.php @@ -167,7 +167,7 @@ include("head.inc"); $acls = get_frontend_acls($frontend); $isaclset = ""; foreach ($acls as $acl) { - $isaclset .= " " . $acl['descr']; + $isaclset .= " " . htmlspecialchars($acl['descr']); } if ($frontend['ssloffloadacl']) $isaclset .= " " . "Certificate ACL"; @@ -178,7 +178,7 @@ include("head.inc"); echo "<img src=\"$img_acl\" title=\"" . gettext("acl's used") . ": {$isaclset}\" border=\"0\" />"; $isadvset = ""; - if ($frontend['advanced_bind']) $isadvset .= "Advanced bind: {$frontend['advanced_bind']}\r\n"; + if ($frontend['advanced_bind']) $isadvset .= "Advanced bind: ".htmlspecialchars($frontend['advanced_bind'])."\r\n"; if ($frontend['advanced']) $isadvset .= "Advanced pass thru setting used\r\n"; if ($isadvset) echo "<img src=\"$img_adv\" title=\"" . gettext("Advanced settings set") . ": {$isadvset}\" border=\"0\" />"; |