From 043a0ac67c6f3b3e258309586af88f3a0da66e2a Mon Sep 17 00:00:00 2001 From: magicsepp Date: Sat, 18 Apr 2020 18:11:17 +0200 Subject: [PATCH] #103,116 Pipes "|" in IMG SRC attribute have to be escaped --- classes/Googlemap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Googlemap.php b/classes/Googlemap.php index 69428ed..8aa1088 100644 --- a/classes/Googlemap.php +++ b/classes/Googlemap.php @@ -195,7 +195,7 @@ public static function getMapData($intMap, $strFormat = '', $arrParams = false) { if ($intIcon <= 5) { - $arrMap['staticMap'] .= '&' . $k . implode('|', $v); + $arrMap['staticMap'] .= '&' . $k . implode('%7C', $v); $intIcon++; } }