Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attachments with special characters in filenames cannot be played #184

Open
UnitedMarsupials opened this issue Jun 20, 2024 · 0 comments
Open

Comments

@UnitedMarsupials
Copy link

Someone sent me a video today with the filename being IMG_2831_(0).MP4. Although it was saved onto the filesystem under exactly that filename, when I clicked to play it, I got the error: "/home/ME/.purple/tdlib/+MYPHONENUM/videos/IMG_2831_%280%29.MP4": No such file or directory" (the opening and the closing parentheses encoded as %28 and %29 respectively).

At the bottom of the message was the URL with yet another way to encode the same filename -- note, how the %-sign itself is encoded as %25 here: file:///home/ME/.purple/tdlib/+MYPHONENUM/videos/IMG_2831_%25280%2529.MP4.

Clearly, something is messed up about URL-to-path translation -- with the problem only appearing, when the filenames have special characters.

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

No branches or pull requests

1 participant