Skip to content

upgrade ruff and limit icon upload - #249

Merged
loichuder merged 3 commits into
mainfrom
upgrade_ruff
Jul 29, 2026
Merged

upgrade ruff and limit icon upload#249
loichuder merged 3 commits into
mainfrom
upgrade_ruff

Conversation

@woutdenolf

Copy link
Copy Markdown
Member

No description provided.

@woutdenolf
woutdenolf requested a review from a team July 29, 2026 05:36
Comment thread CHANGELOG.md

### Security

- Icon upload (`data_url`) now only accepts base64-encoded `data:` URLs.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Claude: In ewoksweb the only non-data: value found in an Icon.data_url field anywhere is DEFAULT_ICON.data_url in Vite dev mode (a /src/images/orange3.png path), but it is a pure UI-display fallback that is never transmitted to the backend,

@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 87.50000% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/ewoksserver/app/backends/binary_backend.py 84.61% 2 Missing ⚠️
src/ewoksserver/app/routes/backend.py 50.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@loichuder
loichuder merged commit 411b41b into main Jul 29, 2026
8 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