mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[PR #781] [CLOSED] Attachment ID sanitization #783
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#783
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?
📋 Pull Request Information
Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/781
Author: @cursor[bot]
Created: 2/25/2026
Status: ❌ Closed
Base:
feat/web-review-resolution← Head:cursor/attachment-id-sanitization-bf05📝 Commits (1)
db7e95dSanitize attachment ID fallback filename📊 Changes
2 files changed (+20 additions, -0 deletions)
View changed files
📝
internal/cli/web/web_review.go(+8 -0)📝
internal/cli/web/web_review_test.go(+12 -0)📄 Description
Summary
normalizeAttachmentFilenameby applyingfilepath.Base()toAttachmentIDwhen it's used as a fallback filename, preventing maliciousAttachmentIDvalues from escaping the intended download directory.Validation
make formatmake lintmake test🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.