WordPress.org

Make WordPress Core

Opened 2 months ago

Last modified 2 months ago

#43836 new defect (bug)

Update or patch getID3 library

Reported by: sanchothefat Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: trunk
Component: Media Keywords: has-patch
Focuses: Cc:

Description

The getID3 library is a little out of date now and currently has the following defect.

File names are sanitised in such a way that a double slash (or directory separator) eg. // is replaced by a single instance of that character.

For file stream wrappers this is broken because a path like s3://example is changed to s3:/example.

The latest version of the library doesn't have this issue (the offending line is commented out) but requires PHP 5.3.

We should patch the offending line or update the entire library.

Attachments (1)

43836.patch (591 bytes) - added by sanchothefat 2 months ago.
Basic patch, removes offending line

Download all attachments as: .zip

Change History (2)

@sanchothefat
2 months ago

Basic patch, removes offending line

#1 @sanchothefat
2 months ago

  • Keywords has-patch added; needs-patch removed
Note: See TracTickets for help on using tickets.