Project

General

Profile

Actions

Bug #59135

closed

Not showing images with utf-8 characters in url

Added by Dragan Tomic almost 10 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #63979: FAL fails with "special characters" and whitespaces in filenamesClosed2014-12-18

Actions
Actions #1

Updated by Mathias Schreiber over 9 years ago

  • Target version changed from next-patchlevel to 7.1 (Cleanup)
Actions #2

Updated by Benni Mack almost 9 years ago

  • Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
Actions #3

Updated by Susanne Moog over 8 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #4

Updated by Benni Mack over 8 years ago

  • Target version changed from 7.5 to 7 LTS
Actions #5

Updated by Jan Helke over 8 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?

Actions #6

Updated by Riccardo De Contardi about 8 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.

Actions

Also available in: Atom PDF