Skip to content

Detect new screenshots - #2

Merged
hannesa2 merged 4 commits into
mainfrom
DetectNewScreenshots
Sep 27, 2026
Merged

hannesa2 merged 4 commits into
mainfrom
DetectNewScreenshots

Conversation

@hannesa2

Copy link
Copy Markdown
Owner

No description provided.

1. Basename collisions: newName now uses the full relative path with slashes sanitized (${relPath//\//-}) so files in different subdirectories or prefixes cannot overwrite each other.
2. Search scope: Restricted git ls-files --others specifically to screenshot paths (scripts/Screenshots, scripts/screenshots, etc.), preventing stray PNGs from being uploaded.
3. Password leak: Removed echo "request_cmd=..." and masked credentials ($SCREENSHOT_USER:) under DEBUG_INFO.
@hannesa2
hannesa2 merged commit df3aaf2 into main Sep 27, 2026
@hannesa2
hannesa2 deleted the DetectNewScreenshots branch September 27, 2026 09:27
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.

1 participant