[wp-hackers] Quick question about sanitize_file_name

Nathaniel Taintor goldenapplesdesign at gmail.com
Sat Feb 18 00:10:39 UTC 2012


On Fri, Feb 17, 2012 at 5:05 PM, fris <fris at fris.net> wrote:

> You could trim the curly quotes from the filename string
>
>
Well, yes I could. But then I'd be wondering why I was using a function
called sanitize_file_name that didn't, you know, sanitize my file names.

Joking aside, I'm just wondering whether this is expected behavior -
leaving some characters in the file names - and if so, if its enough of an
issue for anyone else to bother writing a patch for.


More information about the wp-hackers mailing list