[wp-trac] Re: [WordPress Trac] #9416: Better file name sanitization
for wp_unique_filename
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 21 01:09:05 GMT 2009
#9416: Better file name sanitization for wp_unique_filename
-------------------------+--------------------------------------------------
Reporter: sivel | Owner: sivel
Type: enhancement | Status: assigned
Priority: normal | Milestone: 2.8
Component: Upload | Version: 2.7.1
Severity: normal | Keywords: needs-patch
-------------------------+--------------------------------------------------
Comment(by Denis-de-Bernardy):
Replying to [comment:21 sivel]:
> I do plan on adding a filter that passes both the sanitized and raw
filenames so it sanitization could always be "removed" by a plugin without
much issue.
Imo, we'll be better off with the "correct" filter out of the box: what
the user reasonably expects to work (my above examples are, I think, quite
representative of english speaking audiences).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9416#comment:23>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list