Fixing non-SEF URL in feed output (#42802)

This commit is contained in:
Hannes Papenberg 2024-03-04 16:58:22 +01:00 committed by GitHub
parent 3ad2ab910b
commit 5d0163235d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ final class Sef extends CMSPlugin
foreach ($matches[1] as $urlQueryString) {
$buffer = str_replace(
'href="' . $prefix . 'index.php?' . $urlQueryString . '"',
'href="' . trim($prefix, '/') . Route::_('index.php?' . $urlQueryString) . '"',
'href="' . $prefix . Route::_('index.php?' . $urlQueryString) . '"',
$buffer
);
}