Skip to content

make Mail::ContentDispositionField work with nil value#907

Merged
jeremy merged 1 commit into
mikel:masterfrom
kjg:content_disposition_field_parameters
Sep 16, 2015
Merged

make Mail::ContentDispositionField work with nil value#907
jeremy merged 1 commit into
mikel:masterfrom
kjg:content_disposition_field_parameters

Conversation

@kjg

@kjg kjg commented Sep 10, 2015

Copy link
Copy Markdown
Contributor

I've been running into an issue where a content disposition field fails to fully parse due to the filename being in an unspecified encoding. When this happens the ContentDispositionField ends up being crated with a nil value and then when .parameters is called on the field, it raises an error. Instead the parameters should just be empty.

@kjg kjg force-pushed the content_disposition_field_parameters branch from 48c2590 to 4b668a7 Compare September 10, 2015 16:59
@kjg

kjg commented Sep 14, 2015

Copy link
Copy Markdown
Contributor Author

@jeremy @bf4 , would you mind looking at this please?

@jeremy

jeremy commented Sep 16, 2015

Copy link
Copy Markdown
Collaborator

Thanks @kjg !

jeremy added a commit that referenced this pull request Sep 16, 2015
make Mail::ContentDispositionField work with nil value
@jeremy jeremy merged commit c493452 into mikel:master Sep 16, 2015
@kjg kjg deleted the content_disposition_field_parameters branch September 16, 2015 18:08
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.

2 participants