Skip to content

Take file name for title from header's Content-Disposition #99

Open
@nikolaybobrovskiy

Description

@nikolaybobrovskiy

If document path does not contain .pdf in the end then document is not loaded at all. For example: Does not work: /Document.svc/GetDocById?id=23281
Works: /Document.svc/GetDocById?id=23281&.pdf
And when it works the title is set to GetDocById?id=23281 what seems wrong when GetDocById response contains:
Content-Disposition:inline; filename=registration.pdf

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions