Skip to content

Incorrect name of downloaded binary file if attribute filename in content-disposition header contains quotes #724

@ubiqel

Description

@ubiqel

I'm using version 9.2.0. Header: content-disposition: attachment; filename="data.xlsx". Name of downloaded file: _data.xlsx_.

This is the same issue as #501 and #609. Seems like current solution doesn't work because regex is incorrect. The solution then is to replace /\\"/g with /\"/g or /"/g.

Metadata

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