Apply the patch from #2
Open
requested to merge issue/drupal-3059704:3059704-query-string-parameters-token-replacement-broken into 11.x
Compare changes
@@ -1538,17 +1538,20 @@ protected function renderAsLink($alter, $text, $tokens) {