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-07-01 10:34 |
| Reporter | mario_lorenz | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | acknowledged | 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 | ||||
|
|
Also or still reproducable in 7.5: simple search for a term with " like "test" see the attached screenshot. ack Best Regards QA -SG- |
|
|
here screenshot |
|
|
I am pretty sure this is not a bug, but intentional. If you search for '"test"' instead of just 'test' this needs to be quoted once and stay quoted. For the output we would also else have >0 Treffer für ""test"" < ... which is not much better. |
|
|
The Problem is not the 0 Treffer, the Problem is & q u o t ; see the screenshot. mantis resolves the entitys thats why you need to see the screenshot. Best Regards QA -SG- |