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.
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.