Better support for mime types #9

Merged
merged 1 commit into from Jan 13, 2013

Conversation

Projects
None yet
5 participants
@Smarre
Contributor

Smarre commented Dec 19, 2012

Nowadays there could be content-types like “text/xml; charset=utf-8
which doesn’t match to ”text/xml” at all. This splits from ; and takes
first element and does the comparison using that instead.

Atleast nginx (by default) sets this mime type for XML files.

split content-type and get real mime type
Nowadays there could be content-types like “text/xml; charset=utf-8
which doesn’t match to ”text/xml” at all. This splits from ; and takes
first element and does the comparison using that instead.

CloCkWeRX added a commit that referenced this pull request Jan 13, 2013

Merge pull request #9 from Smarre/master
Better support for mime types

@CloCkWeRX CloCkWeRX merged commit c32f643 into pear:master Jan 13, 2013

@sinkcup

This comment has been minimized.

Show comment
Hide comment
@sinkcup

sinkcup Apr 15, 2014

have this version released? I have installed PEAR 1.9.4, but that file is still old.

have this version released? I have installed PEAR 1.9.4, but that file is still old.

This comment has been minimized.

Show comment
Hide comment
@cweiske

cweiske Apr 15, 2014

Member

@sinkcup: no, not released

Member

cweiske replied Apr 15, 2014

@sinkcup: no, not released

This comment has been minimized.

Show comment
Hide comment
@sinkcup

sinkcup Apr 15, 2014

... a year ago ... is PEAR been deprecated ?

... a year ago ... is PEAR been deprecated ?

This comment has been minimized.

Show comment
Hide comment
@sad-spirit

sad-spirit Apr 15, 2014

Member

No, we are trying to clean up the mess and release 1.10 sometime (hopefully) soon.

Member

sad-spirit replied Apr 15, 2014

No, we are trying to clean up the mess and release 1.10 sometime (hopefully) soon.

This comment has been minimized.

Show comment
Hide comment
@CloCkWeRX

CloCkWeRX Apr 15, 2014

Member
Member

CloCkWeRX replied Apr 15, 2014

This comment has been minimized.

Show comment
Hide comment
@cweiske

cweiske Jun 2, 2014

Member

Cherry-picked into stable branch for version 1.9.5.

Member

cweiske replied Jun 2, 2014

Cherry-picked into stable branch for version 1.9.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment