CMS MADE SIMPLE FORGE

Company Directory

 

[#11588] No check for invalid characters in filename upload image

avatar
Created By: Rolf (rolf1)
Date Submitted: Sun Oct 01 07:55:53 -0400 2017

Assigned To: Robert Campbell (calguy1000)
Version: 1.23.5
CMSMS Version: 2.2.3.1
Severity: Minor
Resolution: None
State: Open
Summary:
No check for invalid characters in filename upload image
Detailed Description:
Hi Robert,

An editor uploaded a photo with the name "Kinderopvang 't Stalletje.jpg". It was
accepted by CompDir and uploaded to the server.
But the ' in the name stopped CGSI to function and the server went in a loop or
something.

In admin log I found:
CGSmartImage - Can't find file in:
https://www.zeijen.nu/uploads/companydirectory/id358/Kinderopvang 't
Stalletje.jpg

I explained to the editor what happend and what to do to prevent these issues
But probably it would be better to add a check for valid file names (or auto
improve) in the file uploads fields.

Thanks, Rolf


History