Issue Details (XML | Word | Printable)

Key: MODX-209
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Olivier Deland
Reporter: Thayne Bohman
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MODx CMF

Cannot delete files containing the pound symbol from the file manager

Created: 21/Jul/08 10:26 AM   Updated: 24/Sep/08 03:53 PM
Component/s: None
Affects Version/s: 0.9.6.1
Fix Version/s: 0.9.6.3-rc1

Time Tracking:
Not Specified

Environment: All environments


 Description  « Hide
When attempting to delete any file with "#" (the pound symbol) in the filename, the manager returns a failure. The filename in the returned path ends just before the pound symbol. For example, attempting to delete "TestDoc #10.doc" would fail, returning something similar to "Deleting file `/data/www/assets/docs/TestDoc `: Failed!"

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Olivier Deland added a comment - 24/Sep/08 03:53 PM
File manager now handles any character.
Also optimized the code by switching a lot of double quotes to single quote and other minor code improvements. svn rev 4153