Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
andreazerbini opened this issue Mar 6, 2024 · 0 comments
Open

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

andreazerbini opened this issue Mar 6, 2024 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed and we are accepting pull requests from anyone willing to take this on.

Comments

@andreazerbini
Copy link

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
@andreazerbini andreazerbini added the bug Something isn't working label Mar 6, 2024
@sserrata sserrata added the help wanted Extra attention is needed and we are accepting pull requests from anyone willing to take this on. label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed and we are accepting pull requests from anyone willing to take this on.
Projects
None yet
Development

No branches or pull requests

2 participants