Changeset 1211


Ignore:
Timestamp:
11/08/09 09:36:40 (5 years ago)
Author:
gogo
Message:

Ticket #1461

Special characters in image make thumbnail not appear.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ImageManager/Classes/ImageManager.php

    r1143 r1211  
    314314                        || strlen(trim($this->config['thumbnail_dir'])) == 0) 
    315315                { 
    316                         Return Files::makeFile($this->getImagesURL(),$thumbnail); 
     316                        Return Files::makeFile($this->getImagesURL(),rawurlencode($thumbnail)); 
    317317                } 
    318318                else 
     
    325325                                _ddt( __FILE__, __LINE__, "getThumbURL(): url_path is '$url_path'" ); 
    326326 
    327                                 Return Files::makeFile($url_path,$thumbnail); 
     327                                Return Files::makeFile($url_path,rawurlencode($thumbnail)); 
    328328                        } 
    329329                        else //should this ever happen? 
Note: See TracChangeset for help on using the changeset viewer.