Compare commits

...

2 commits

Author SHA1 Message Date
Hypolite Petovan 91aa66ed77 [v2.4.1] Bump version number for release 2022-05-12 14:18:43 -04:00
Hypolite Petovan 7fdbaa3678 Don't encode the zrl parameter in external links
- Fix a "Forbidden" issue with /remote_follow links
2022-05-12 14:18:19 -04:00
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
2.4.0 2.4.1

View file

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