appsmithorg / appsmithorg/appsmith

[Bug]: Document Viewer does not display PDFs with Content-Disposition: attachment as header

Offen
#9,746 12 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Bug Community Reported Document Viewer Widget Low Production Query Widgets & IDE Pod Widgets & Accelerators Pod Widgets Product
Vorherrschende Sprache
TypeScript
Sterne
40.9k
Forks
4.8k
Ø Merge
1 T. 22 Std.
Gemergte PRs (30 T.)
45

Beschreibung

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

In the Document Viewer, when linking a PDF with ` Content-Disposition: attachment` as a response header, the file is downloaded in the browser. It should be displayed on the screen instead.

### Steps To Reproduce

1. Insert a Document Viewer widget
2. Link a PDF with ` Content-Disposition: attachment` as a response header.

### Environment

Production

### Version

Self-Hosted

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.