Bug #59135
closedNot showing images with utf-8 characters in url
0%
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
Updated by Mathias Schreiber almost 10 years ago
- Target version changed from next-patchlevel to 7.1 (Cleanup)
Updated by Benni Mack over 9 years ago
- Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
Updated by Susanne Moog over 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Benni Mack about 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Jan Helke about 9 years ago
- Status changed from New to Needs Feedback
I tried that using an image with umlauts and the "click enlarge" option for a content element and it works fine. I use Mint Linux here. But as I get a report from a fellow developer about the problem on OSX, it seems to be a OS related problem.
Could you please provide us with some more informations? OS, webserver, such stuff?
Updated by Riccardo De Contardi almost 9 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.