View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0007967 | OXID eShop (all versions) | 1.06. Search, Tags | public | 2026-06-26 13:29 | 2026-06-26 13:29 |
| Reporter | mario_lorenz | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Product Version | 7.0.0 | ||||
| Summary | 0007967: Double-Encoded Quotes in <title> Tag (Search Results Page) - in Twig-Templates | ||||
| Description | FrontendController::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: " -> " -> 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. | ||||
| Tags | No tags attached. | ||||
| Theme | Apex | ||||
| Browser | Not defined | ||||
| PHP Version | Not defined | ||||
| Database Version | Not defined | ||||