Skip to content

URL-encode media filenames#42

Open
ccollins476ad wants to merge 1 commit into
BlipRanger:mainfrom
ccollins476ad:handle-question-marks-in-media-filenames
Open

URL-encode media filenames#42
ccollins476ad wants to merge 1 commit into
BlipRanger:mainfrom
ccollins476ad:handle-question-marks-in-media-filenames

Conversation

@ccollins476ad
Copy link
Copy Markdown

@ccollins476ad ccollins476ad commented Feb 17, 2025

This fixes a bug that prevented the browser from displaying media files with special characters in their filenames. The fix is to URL-encode media file paths.

I have only tested this on:

  • 131.0.3 (64-bit) firefox on linux

So I am not sure if this issue affects other browsers.

I was specifically seeing this problem for galleries when the post subject contains a ? character.


EDIT: I do not ever use python, so I am sure this is not the right way to fix this issue. I'm leaving the PR because I believe it fixes a legitimate issue, but feel free to close and apply a better fix.

This fixes a bug that prevented the browser from displaying media files
with special characters in their filenames. The fix is to URL-encode
media file paths.
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