fix: improve media download delivery#27
Closed
papayachat wants to merge 1 commit intoqingchencloud:mainfrom
Closed
fix: improve media download delivery#27papayachat wants to merge 1 commit intoqingchencloud:mainfrom
papayachat wants to merge 1 commit intoqingchencloud:mainfrom
Conversation
Contributor
|
感谢贡献!PR 中的改进已手动合并到 main 分支(v1.9.0),包括:路径安全加固(symlink resolution + MEDIA_ALLOWED_DIRS)、Content-Disposition 下载支持(UTF-8 文件名)、MEDIA: 路径支持含空格文件名、文件卡片下载模式。关闭此 PR。 |
1186258278
added a commit
that referenced
this pull request
Mar 24, 2026
… copy fix Changes: - fix: website copy button now copies the active tab's command (#24) - fix: mobile image upload base64 compatibility for Android browsers (#21) - feat: improve media download delivery (from PR #27 by @papayachat) - path security hardening with symlink resolution - MEDIA_ALLOWED_DIRS config for custom allowed directories - Content-Disposition download mode with UTF-8 filename support - MEDIA: path parsing supports filenames with spaces - file cards open in download mode - chore: bump version to v1.9.0 - chore: close resolved issues #7 #8 #19 #22 #23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes ClawApp's
MEDIA:/absolute/pathdownload flow.Changes:
MEDIA_ALLOWED_DIRSsupport for/mediaContent-DispositionMEDIA:path parsing for filenames containing spacesValidated with
node --check server/index.jsandnpm run build:h5.