Skip to content

Use IDs on fetching raw images instead of relative paths#14

Merged
tjmoore merged 1 commit into
mainfrom
use-ids
May 1, 2026
Merged

Use IDs on fetching raw images instead of relative paths#14
tjmoore merged 1 commit into
mainfrom
use-ids

Conversation

@tjmoore
Copy link
Copy Markdown
Owner

@tjmoore tjmoore commented May 1, 2026

Use IDs on fetching raw images instead of relative paths and lookup the path internally

This removes exposure of file paths in the front-end and removes ability to attempt path traversal hacks in the web API

This also makes it easier to implement multiple source image folders as the API references are no longer based on a relative path from a single base path, just IDs that look up the real path

@tjmoore tjmoore merged commit f2c818c into main May 1, 2026
1 check passed
@tjmoore tjmoore deleted the use-ids branch May 1, 2026 15:22
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