File rename bug in filebrowser plugin ?

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

Post Reply
Korvell
Posts: 93
Joined: Thu May 22, 2008 10:33 pm

File rename bug in filebrowser plugin ?

Post by Korvell » Thu Nov 10, 2016 10:41 am

Hi.
I think there's a bug in the filebrowser plugin regarding renaming files. It seems it ignores spaces in the name and simply concatenate all words into one "word".

I am aware that using spaces in filenames on websites isn't the best thing, but nevertheless ;)

I'm using CMSimple_XH 1.6.7

Korvell

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: File rename bug in filebrowser plugin ?

Post by cmb » Thu Nov 10, 2016 12:37 pm

Korvell wrote:It seems it ignores spaces in the name and simply concatenate all words into one "word".
Indeed, there is code to ignore some characters when renaming a file. Which characters are omitted seems to be a bit arbitrary, and from what I can tell, there are no such omissions when uploading a file in the first place. At least this inconsistency is a bug, in my opinion. Thanks for reporting!

This said, for best compatibility and portability I recommend to use ASCII letters, digits, underscores, hyphens and dots only for filenames.
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply