[wp-trac] Re: [WordPress Trac] #7568: automatic filetype detection
for FTP Filesystem abstraction
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 25 00:40:04 GMT 2008
#7568: automatic filetype detection for FTP Filesystem abstraction
-------------------------------------+--------------------------------------
Reporter: DD32 | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: Administration | Version: 2.6
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+--------------------------------------
Changes (by DD32):
* keywords: needs-patch => has-patch needs-testing
* summary: certain binary files(.ttf) broken on plugin upgrade =>
automatic filetype detection for FTP Filesystem
abstraction
Comment:
Patch attached, I've tested a few plugins with .swf and a few other file
types which were having issues, This appears to have fixed it.
A Ascii file is anything from this table: http://www.asciitable.com/ of
Space through to ~, If it contains any other characters its a Binary file.
I havnt tested with files with UTF8 characters, I suspect they'd be
claimed as a binary file.. however i'm not sure FTP could transfer those
files as ASCII anyway.. Needs testing.
--
Ticket URL: <http://trac.wordpress.org/ticket/7568#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list