Issue Bug Closed

#59135Not showing images with utf-8 characters in url

Dragan Tomic 05/27/14, 11:17 updated 01/19/16, 10:20

Description

Images are not showing when thay have utf-8 characters in url.

Possible solution is to add ‘‘ to main() method in TYPO3\CMS\Frontend\Controller\ShowImageController

Something like this:

<html>
<head>
<meta charset="utf-8">
    <title>' . htmlspecialchars(($this->title ? $this->title : 'Image')) . '</title>
    ' . ($this->title ? '' : '<meta name="robots" content="noindex,follow" />') . '
</head>
        ' . ($this->bodyTag ? $this->bodyTag : '<body>');
         if (is_array($imgInfo)) {
            $wrapParts = explode('|', $this->wrap);
            $this->content .= trim($wrapParts[0]) . $img->imgTag($imgInfo) . trim($wrapParts[1]);
        }
        $this->content .= '
        </body>
        </html>';

Affected versions: 6.1.5; 6.1.8

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.