View Issue Details

IDProjectCategoryView StatusLast Update
0007967OXID eShop (all versions)1.06. Search, Tagspublic2026-06-26 13:29
Reportermario_lorenz Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version7.0.0 
Summary0007967: Double-Encoded Quotes in <title> Tag (Search Results Page) - in Twig-Templates
DescriptionFrontendController::getPageTitle() calls the private method replaceDoubleQuotesWithHTMLCharacters(), which replaces " with ".
This is a Smarty-era relic: back then the title was rendered without auto-escaping, so the entity had to be produced manually.

Under Twig, however, the <title> tag (and og:title) is auto-escaped. As a result the ampersand gets encoded a second time:

" -> &quot; -> the browser tab literally displays ".

This is most visible on the search results page, where the title wraps the search term in double quotes (e.g. Search results for "term"). The <h1> heading is not affected, because it is built with literal quotes in the template and is therefore auto-escaped only once.
TagsNo tags attached.
ThemeApex
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Activities

There are no notes attached to this issue.