Strip private metadata from mobile photo evidence #950
No reviewers
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: stackchain/stackchain-dashboard#950
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "timmy/949-strip-photo-metadata"
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?
Closes #949
Re-encodes every newly selected JPEG, PNG, and WebP through the bounded canvas path before preview, draft/outbox persistence, or upload. This removes embedded EXIF/GPS/device metadata while preserving filenames, MIME types, visible pixels, and existing byte/pixel limits. Decode or encode failure remains fail-closed.
TDD proof:
pytest -q tests/test_issue_attachment_ui.py tests/test_service_worker.py— 95 passed.pytest -q— 1807 passed, 1 skipped.