View Issue Details

IDProjectCategoryView StatusLast Update
0002519OXID eShop (all versions)1.04. Content, static (register, contact etc.) pagespublic2011-05-30 09:52
Reportergpayer 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.4.6 revision 32697 
Target VersionFixed in Version4.5.1 revision 38045 
Summary0002519: 404 page is does not set an approriate Content-Type header
DescriptionThe standard 404 page produced by oxUtils::handlePageNotFoundError does not send an appropriate Content-Type header.

Therefor if the shop runs in UTF-8 the Content-Type header in the HTTP Response still says ISO-8859-15 and most browsers will interpret the web page this way.

Adding

if(oxConfig::getInstance()->isUtf())
    $this->setHeader("Content-Type: text/html; charset=UTF-8");

in handlePageNotFoundError fixes this bug.
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

birute_meilutyte

2011-05-13 14:02

reporter   ~0004571

@developers: check from source code side if such issue still exist and if offered solution is correct