mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #5723] [bug]: 下载文件未正确按照 http 协议解析处理响应 header 中的 Content-Disposition #2231
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#2231
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 @xzxiaoshan on GitHub (Dec 24, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5723
Is there an existing issue for this?
Platform
Desktop App
Browser
Chrome
Operating System
Windows
Bug Description
按照 http 协议规范,可以通过响应头中的 Content-Disposition 来设定下载文件的文件名称,如下所示的验证中,目前没有支持这个协议解析。
Content-Disposition: attachment; filename="%E4%BC%81%E4%B8%9A%E8%B4%B4%E6%81%AF%E8%B6%85%E9%99%90%E9%A2%84%E8%AD%A6.xlsx"; filename*=UTF-8''%E4%BC%81%E4%B8%9A%E8%B4%B4%E6%81%AF%E8%B6%85%E9%99%90%E9%A2%84%E8%AD%A6.xlsx
对应的文件名称为:企业贴息超限预警.xlsx
Deployment Type
Hoppscotch Cloud
Version
v2025.12.0