Skip to content

Handle quoted content-type charset parameter values#312

Open
jeremyevans wants to merge 1 commit into
ruby:masterfrom
jeremyevans:unquote-escape-content-type
Open

Handle quoted content-type charset parameter values#312
jeremyevans wants to merge 1 commit into
ruby:masterfrom
jeremyevans:unquote-escape-content-type

Conversation

@jeremyevans

Copy link
Copy Markdown
Contributor

Additionally, as all related strings are new objects, use ! methods to reduce allocations.

Remove unnecessary * before param.split, as param.split already returns an array.

Fixes #267

Additionally, as all related strings are new objects, use ! methods
to reduce allocations.

Remove unnecessary * before param.split, as param.split already
returns an array.

Fixes ruby#267
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.

Unquote and unescape Content-Type: charset [RFC7230]

1 participant