CMS MADE SIMPLE FORGE

Company Directory

 

[#11215] Logo and Image names not processed correctly

avatar
Created By: Rolf (rolf1)
Date Submitted: Mon Nov 21 05:21:25 -0500 2016

Assigned To:
Version: 1.23.3
CMSMS Version: 2.1.5
Severity: Minor
Resolution: None
State: Open
Summary:
Logo and Image names not processed correctly
Detailed Description:
When uploaded a file containing a quote in the file name, the file isn't
processed correctly.

Filename i.e. jack's-website.jpg is uploaded to the server *and* stored in the
database as jack's-website.jpg.jpg

In the frontend the image isn't shown and I get a notice:

Notice: Could not find a file at:
http://localhost/trunk/uploads/companydirectory/id1/jack's-website.jpg.jpg
in D:\www\trunk\modules\CGSmartImage\action.default.php on line 44

I noticed it at one of my websites and reproduced it on localhost core trunk
with latest CompDir.


History