Skip to content

send_file is not compatible with frozen string literals. #1136

Closed
@aselder

Description

If disposition is sent in via the opts hash as a literal string, the attachement method will blow up when response['Content-Disposition'] << params is called.

This should be a simple fix. A change from .to_s to String.new(...) should give us what worked...

I'll put together a PR

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions