Image is treated as video if filename contains video extension; #75

Open
opened 2025-11-01 14:21:39 +01:00 by D-04got10-01 · 0 comments
____________________________________________________________
Date Noticed = 2025-11-01; // a.k.a. version indicator;

_Filename_   = S02E06_-_Homicide.mp4_snapshot_10.54.299.png;

_Sample_     = https://devrant.molodetz.nl/preview/S02E06_-_Homicide.mp4_snapshot_10.54.299.png ;
____________________________________________________________
When an attachment w/ the _filename_ was shared in the chat,
it was treated as a video file, given the
  *.mp4
extension mentioned in it;
/*
  Attachment available;
*/
____________________________________________________________
Steps To Reproduce:

00. Goto https://molodetz.online ;
01.
{
  Share a link to an image file containing a video
  extension;
  You can use the provided _Sample_;
}
02. Take a look at the results;
03. Observe;

Notice that:

00.
{
  The shared image wasn't displayed because it was treated
  as a video file;
}
_________________
Expected Results:

00.
{
  The image is properly displayed despite containing
  an extension of a different file type;
}
____________________________________________________________
``` ____________________________________________________________ Date Noticed = 2025-11-01; // a.k.a. version indicator; _Filename_ = S02E06_-_Homicide.mp4_snapshot_10.54.299.png; _Sample_ = https://devrant.molodetz.nl/preview/S02E06_-_Homicide.mp4_snapshot_10.54.299.png ; ____________________________________________________________ When an attachment w/ the _filename_ was shared in the chat, it was treated as a video file, given the *.mp4 extension mentioned in it; /* Attachment available; */ ____________________________________________________________ Steps To Reproduce: 00. Goto https://molodetz.online ; 01. { Share a link to an image file containing a video extension; You can use the provided _Sample_; } 02. Take a look at the results; 03. Observe; Notice that: 00. { The shared image wasn't displayed because it was treated as a video file; } _________________ Expected Results: 00. { The image is properly displayed despite containing an extension of a different file type; } ____________________________________________________________ ```
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: retoor/snek#75