use base64_encode for monitor probe

We need to employ the same method of encoding as the onvif probe to avoid fixing one while breaking the other
This commit is contained in:
Andrew Bauer
2018-09-21 12:00:03 -05:00
committed by GitHub
parent c483b4ec90
commit b8a2e71bb6

View File

@@ -288,7 +288,7 @@ function probeNetwork() {
if ( isset($macBases[$macRoot]) ) {
$macBase = $macBases[$macRoot];
$camera = call_user_func($macBase['probeFunc'], $ip);
$sourceDesc = htmlspecialchars(serialize($camera['monitor']));
$sourceDesc = base64_encode(serialize($camera['monitor']));
$sourceString = $camera['model'].' @ '.$host;
if ( isset($monitors[$ip]) ) {
$monitor = $monitors[$ip];