[wp-trac] Re: [WordPress Trac] #10224: wptempnam() returns odd
filenames when urls have parameters
WordPress Trac
wp-trac at lists.automattic.com
Sat Jun 20 11:01:05 GMT 2009
#10224: wptempnam() returns odd filenames when urls have parameters
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner: dd32
Type: enhancement | Status: new
Priority: low | Milestone: Future Release
Component: Filesystem | Version:
Severity: minor | Keywords: needs-patch
-------------------------------+--------------------------------------------
Comment(by Denis-de-Bernardy):
we might want to change sanitize_filename in such a way that when a ? is
encountered, it turns the likes of bar.zip?foo=bar&foo2=bar2 into
bar.foo.bar.foo2.bar2.zip. That way we at least get the extension right.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10224#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list