Active
Project:
Fileshare
Version:
5.x-1.0
Component:
Module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Jul 2007 at 16:41 UTC
Updated:
31 Jul 2007 at 09:46 UTC
So yeah -- you can upload files like "Ben's Awesome Lesson Plan.doc", and users can download it, but you can't delete it -- I'm assuming it's goofing up the javascript responsible for deletion. So in the module code, I changed the first line of _sanitize_filename() from
$special_chars = array("?","[","]","/","\\","=","+","<",">",":",";",",");
to
$special_chars = array("?","[","]","/","\\","=","+","<",">",":",";",",","'","\"");
Something you may want to throw into the next release...
Comments
Comment #1
Zefling commentedOr accept the quotes and apostrophes :
Line 636
Line 660