From d05ad12b4886d6ed337c782571080d7b34ac9bd2 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 10 Jul 2018 11:49:45 -0400 Subject: [PATCH] We no longer base64_encode the probe data, we just use htmlspecialchars, so don't base64_decode it. Fixes #2148 --- web/skins/classic/views/monitor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/skins/classic/views/monitor.php b/web/skins/classic/views/monitor.php index 2e1d467f6..9867298d5 100644 --- a/web/skins/classic/views/monitor.php +++ b/web/skins/classic/views/monitor.php @@ -173,7 +173,7 @@ if ( !empty($_REQUEST['preset']) ) { } } if ( !empty($_REQUEST['probe']) ) { - $probe = unserialize(base64_decode($_REQUEST['probe'])); + $probe = unserialize($_REQUEST['probe']); foreach ( $probe as $name=>$value ) { if ( isset($value) ) { # Does isset handle NULL's? I don't think this code is correct.