[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 00:56:00 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:17 DD32]:
pretty good from what i've seen, However, taking a cautious road could
prevent issues in the future.. even if only just for 1 person...
So, user input time. My customers (many podcasters) would hate it if the
following podcast titles get rejected:
- Isn't this neat?
- Something on "blah"!
- Why 1 < 2 and 2 > 1
- Email mickey @ mouse.com
- Make $$$ because stocks will rise 10%
As long as we get those right, we've a few thousand podcasters who can
vouch things work great.
I've never seen * used in a title, and I suspect it's due to the fact that
Windows will reject it. I assume other windows special characters apply
here too (\ in particular). I *have* seen all sorts of weird punctuation
characters though.
Just my $.02. :-)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9416#comment:19>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list