Closed ertgrulll closed 2 years ago
Tested path types:
Valid: https://domain.com/image.jpg
Valid: https://domain.com/png.png
Valid: https://domain.com/jpg.jpg?param=val...
Invalid: https://domain.com/jpg
Valid: https://domain.com/video.mp4
Valid: https://domain.com/mp4.mkv
Valid: https://domain.com/video.mp4?param=val...
Invalid: https://domain.com/mov
Valid: /home/Desktop/jpg.mp4
Valid: /home/Desktop/image.jpg
Invalid: /home/Desktop/jpg
Invalid:
empty string
I found another bug.
Hi, I fixed the "File at path is not an image" and "File at path is not a video" errors on parameterized urls, I removed the "path" package dependency, it was unnecessary. I deleted the print lines and added a nice log line about the file size.