Actions
Bug #59135
closedNot showing images with utf-8 characters in url
Start date:
2014-05-27
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:
Description
Images are not showing when thay have utf-8 characters in url.
Possible solution is to add '<meta charset="utf-8">' 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
Actions