I've just come across this problem related to the upload class on Colin Verot's upload script.
/^([\.-\w]+)\/([\.-\w]+)(.*)$/i
I have escaped it as below but my knowledge of preg_match/preg_replace is a bit limited and just wanted to confirm the correct 'fix'.
/^([\.\-\w]+)\/([\.\-\w]+)(.*)$/i
Line numbers throwing issues are between 2899 and 3012
'; } else { $this->file_src_mime = null; } Looks like its checking for mime types? – Mike Wells Sep 29 '14 at 15:50