summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbruno <bruno.stein@bluepex.com>2016-08-23 08:46:59 -0300
committerRenato Botelho <garga@FreeBSD.org>2016-09-13 09:51:56 -0300
commitc39dd0d3ead4ba57bcf54ee117f88b7eb4e852cc (patch)
tree3ea65f1a7ec7f6cf898e4b59046fc85b08a309c1
parent332f2a7740ff6800540a0d2113d96b8f1453ca88 (diff)
downloadFreeBSD-ports-c39dd0d3ead4ba57bcf54ee117f88b7eb4e852cc.zip
FreeBSD-ports-c39dd0d3ead4ba57bcf54ee117f88b7eb4e852cc.tar.gz
encode raw config
(cherry picked from commit 36eb772404dca1202149206dbed42dc193036931)
-rw-r--r--net/pfSense-pkg-OpenBGPD/files/usr/local/www/openbgpd_raw.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/pfSense-pkg-OpenBGPD/files/usr/local/www/openbgpd_raw.php b/net/pfSense-pkg-OpenBGPD/files/usr/local/www/openbgpd_raw.php
index e420e23..5a13b0a 100644
--- a/net/pfSense-pkg-OpenBGPD/files/usr/local/www/openbgpd_raw.php
+++ b/net/pfSense-pkg-OpenBGPD/files/usr/local/www/openbgpd_raw.php
@@ -33,7 +33,7 @@ require("openbgpd.inc");
global $config;
if (isset($_POST['openbgpd_raw'])) {
- openbgpd_put_raw_config($_POST['openbgpd_raw']);
+ openbgpd_put_raw_config(base64_encode($_POST['openbgpd_raw']));
write_config();
openbgpd_install_conf();
}
OpenPOWER on IntegriCloud