mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 09:16:03 +03:00
[GH-ISSUE #2139] [bug]: Downloaded PDF files are malformed #721
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#721
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @micthiesen on GitHub (Feb 28, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2139
Is there an existing issue for this?
Current behavior
When I attempt to download a PDF response, the downloaded PDF cannot be rendered (it is blank). Compare this to downloading the PDF directly from the browser, and it works.
Steps to reproduce
https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdfI've tried to compare the downloaded response to the actual PDF, and there are some slight differences, but I couldn't determine what the exact difference was. There might be some slight encoding difference or something.
Side note but it would be nice if instead of showing the raw binary data, a rendered PDF was shown.
Environment
Production
Version
Cloud
@AndrewBastin commented on GitHub (Feb 28, 2022):
@micthiesen Can you confirm which interceptor are you using ? Are you using None ? Proxy or the Browser Extension ?
@micthiesen commented on GitHub (Feb 28, 2022):
I tried with both the Browser Extension (FireFox) and also with it disabled
@micthiesen commented on GitHub (Feb 28, 2022):
I also just tested with Chrome (no extension) and it has the same issue. I'm using MacOS
@AndrewBastin commented on GitHub (Feb 28, 2022):
Should be fixed in
e9dc7769ac@micthiesen please confirm on your end and let me know. Thank you for raising the issue! <3
Closing the issue.
@micthiesen commented on GitHub (Feb 28, 2022):
@AndrewBastin it works! Thank you very much for the quick fix