Bionus / imgbrd-grabber

Very customizable imageboard/booru downloader with powerful filenaming features.
https://www.bionus.org/imgbrd-grabber/
Apache License 2.0
2.58k stars 220 forks source link

md5.sqlite path column uses both / and \ as path separator inconsistently #3324

Open typhoon71 opened 1 week ago

typhoon71 commented 1 week ago

Not really a time stopping bug, and maybe nobody will have an issue with it... but!

I noticed the md5 database can have duplicate entries for the same image, as same md5 and same path.

This happens when because the path gets writtens with / or \, depending on where the download is initiated in Grabber.

Basically:

It's only the path column in the db that's affected, the image is properly skipped - as it's recognized.