summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Jones <sjones@netgate.com>2018-08-28 10:49:59 -0500
committerStephen Jones <sjones@netgate.com>2018-08-28 10:49:59 -0500
commit6a2461f0bcddb800ad5f193afc3efbde7b53dd3c (patch)
treea26f7272bba58fdef2579066e4f6a8837d067804
parent57639ced0f34568e3bf0760e305864fd75739042 (diff)
downloadpfsense-6a2461f0bcddb800ad5f193afc3efbde7b53dd3c.zip
pfsense-6a2461f0bcddb800ad5f193afc3efbde7b53dd3c.tar.gz
Bug was fixed in pfsense module and this code is no longer needed so removing.
-rw-r--r--src/usr/local/www/interfaces_bridge_edit.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/usr/local/www/interfaces_bridge_edit.php b/src/usr/local/www/interfaces_bridge_edit.php
index 824e4ff..9476ade 100644
--- a/src/usr/local/www/interfaces_bridge_edit.php
+++ b/src/usr/local/www/interfaces_bridge_edit.php
@@ -350,10 +350,6 @@ if ($_POST['save']) {
$input_errors[] = gettext("Error occurred creating interface, please retry.");
} else {
- // $bridge[bridgeif] is getting some invalid characters that need to be
- // taken out for it to parse as xml. This hack should work until the actual bug is found.
- $bridge['bridgeif'] = preg_replace('/[^A-Za-z0-9\-]/', '', $bridge['bridgeif']); // Removes special chars.
-
if (isset($id) && $a_bridges[$id]) {
$a_bridges[$id] = $bridge;
} else {
OpenPOWER on IntegriCloud