Skip to content

Guard feedback uploads against missing files#7452

Merged
ar2rsawseen merged 2 commits intonewarchitecturefrom
codex/upload-validation-guards
Apr 9, 2026
Merged

Guard feedback uploads against missing files#7452
ar2rsawseen merged 2 commits intonewarchitecturefrom
codex/upload-validation-guards

Conversation

@ar2rsawseen
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 9, 2026 10:38
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Guards the star-rating plugin’s feedback upload endpoints to avoid silent failures when uploads are missing, returning explicit 400 responses instead.

Changes:

  • Add 400 responses for /i/feedback/upload when params.files is missing, when file is missing, or when name is missing for generic uploads.
  • Add 400 response for /i/feedback/logo when logo file is not provided.

@ar2rsawseen ar2rsawseen merged commit 6f4cb7f into newarchitecture Apr 9, 2026
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants