Opened 11 years ago

Closed 11 years ago

#1461 closed defect (fixed)

ImageManager does not display thumbnail of files with filenames containing special characters

Reported by: guest Owned by:
Priority: normal Milestone: 0.96
Component: Plugins Version: trunk
Severity: normal Keywords: ImageManager thumb


One of my customers correctly uploaded a file with the filename '1%club.jpg' using the ImageManager? plugin. A thumbnail was also correctly created in the .thumbs folder.

The thumbnail, however, was NOT correctly displayed.

As far as I can see, a PHP rawurlencode function call was missing. After adding that, the thumbnail is correctly displayed...

In trunk/plugins/ImageManager/Classes/ImageManager.php, function getThumbURL($relative) (currently line 327):

Return Files::makeFile($url_path,$thumbnail);

changed to

Return Files::makeFile($url_path,rawurlencode($thumbnail));

Jeroen Vader

Change History (1)

comment:1 Changed 11 years ago by gogo

  • Resolution set to fixed
  • Status changed from new to closed

Committed changeset:1211

Note: See TracTickets for help on using tickets.