Don't encode the zrl parameter in external links

- Fix a "Forbidden" issue with /remote_follow links
This commit is contained in:
Hypolite Petovan 2022-05-12 14:18:19 -04:00
parent df660b66c9
commit 7fdbaa3678
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ class PhpRenderer extends \Slim\Views\PhpRenderer
{
if ($this->getAttribute('zrl')) {
$uri = new \ByJG\Util\Uri($url);
$uri->withQueryKeyValue('zrl', $this->getAttribute('zrl'));
$uri->withQueryKeyValue('zrl', $this->getAttribute('zrl'), false);
$url = $uri->__toString();
}