Ticket #1977 (closed Bug: invalid)
CKFinder - Automatic renaming of double files using (..) causes invalid filenames
| Reported by: | Raymond78 | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | |
| Keywords: | Cc: |
Description
Hi,
First, I'd like to say CKFinder is a great product. It saves me a lot of work. However, I encountered the following situation. I am using the CKFinder together with FCKeditor. When you upload a file in CKFinder that already exists, it will automatically rename the new file, making its name unique by adding (<number>), so picture.jpg will become picture(1).jpg.
The use of () in filenames however causes the browser to "choke"; image filenames containing () will not load, giving a server error (bad request).
I strongly suggest to change this, so that the renaming will not introduce "illegal" characters, for example by adding _1 instead of (1). I've changed this myself and now it works fine.
Thank you.
Kind regards,
Raymond