some parameters were not being properly URL encoded
This commit is contained in:
@@ -68,7 +68,9 @@ class UrlUtils {
|
||||
} else {
|
||||
foreach ($parameters as $paramKey => $paramValue) {
|
||||
$delimiter = (strpos($finalUrl, "?") === false) ? "?" : "&";
|
||||
$finalUrl .= $delimiter . $paramKey . "=" . $paramValue;
|
||||
if (strpos($finalUrl, $paramKey."=") === false) {
|
||||
$finalUrl .= $delimiter . $paramKey . "=" . urlencode($paramValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user