[wp-trac] [WordPress Trac] #30624: Malformed comment in module.audio-video.quicktime.php trips up FTP clients (solution included)

WordPress Trac noreply at wordpress.org
Sun Dec 7 14:29:19 UTC 2014


#30624: Malformed comment in module.audio-video.quicktime.php trips up FTP clients
(solution included)
--------------------------+-----------------------------
 Reporter:  okiru         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.0.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 /wp-includes/ID3/module.audio-video.quicktime.php in line 1377 contains a
 comment ("mtda keys ...") with non-printable characters. I could imagine
 this resulted from copypasting parts of a formatted document into a text
 editor that does not show (or care about) special characters.

 This is worth mentioning and correcting because, when uploading via FTP,
 this file trips up FTP clients that check a file's content whether it's
 binary and compare with the file extension. For example, the FTP client in
 Total Commander stops in its tracks to check back with the user, whether
 he's really sure he wants to upload a (detected) binary file in text mode
 (per file extension rules). A medium-sized inconvenience with an
 unattended upload.

 The fix is obvious.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30624>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list