fix(images): percent-encode original-image URLs ('#' in paths 404'd) #100
Reference in New Issue
Block a user
Delete Branch "dev"
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?
An image whose on-disk path contains
#(post folders likeBLUE#59) served its hash-named thumbnail fine but 404'd the original: the unencoded#inimage_urlwas parsed by the browser as a URL fragment, so#59/01_timelapse.jpgnever reached the/imagesroute. Adds a sharedimage_url(path)helper that percent-encodes the path (safe='/') and routes the 3 raw builders (gallery detail + 2 in series) through it. Not a cleanup-tool deletion — the file is on disk; only the URL was wrong.Regression test on the encoder. CI green on dev (run 970).
🤖 Generated with Claude Code