Skip to content

fix: filter unexpected parameters from content type string#205

Open
fbraghiroli wants to merge 1 commit into
sfuhrm:masterfrom
fbraghiroli:fix-content-type
Open

fix: filter unexpected parameters from content type string#205
fbraghiroli wants to merge 1 commit into
sfuhrm:masterfrom
fbraghiroli:fix-content-type

Conversation

@fbraghiroli

Copy link
Copy Markdown

Some webradio servers return additional parameters to the content type string (for example "audio/aac; charset=UTF-8"). In this case the program refused to continue as it does not match any of the MimeType defined.

With this fix, parameters are discarded and only the type/subtype is checked.

Some webradio servers return additional parameters to the content type string (for
example "audio/aac; charset=UTF-8"). In this case the program refused to continue
as it does not match any of the MimeType defined.

With this fix, parameters are discarded and only the type/subtype is checked.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant