Skip to content

File download always with same name "file.<extension>" #733

@andreazerbini

Description

@andreazerbini

Describe the bug

When the API we are calling, is sending a file with correct "Content-disposition" header that contains filename, the browser is downloading a file with a generic filename "file"

Expected behavior

The download of the file from the browser start with the correct filename.

Current behavior

The download of the file from the browser start with a generic filename "file".

Steps to reproduce

Pre-requisites: having an API endpoint that returns a file with correct headers in response (see screenshot)
Sending a request to that endpoint and trying to click "Send API Request".

Screenshots

e4bccfd2-7fe3-45b2-b1cb-f8700bcdea41

Your Environment

  • Version used: v3.0.0-beta.4 (Docusaurus version 3.1.0)
  • Environment name and version:
    • Docusaurus side: Chrome Browser 122.0.6261.71 (Official build 64 bit);
    • BE side: SpringBoot BE engine and NGINX web server
  • Operating System and version (desktop or mobile): Windows 11 Desktop

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingroadmapFeatures or bug fixes planned for future release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions