Subj : Duplicate uploads overwrite + dupe detection after deletion
To   : g00r00

Date : Wed Aug 04 2021 08:56 pm

Hello g00r00!

I just noticed that if I upload a file which already exists (to some file area), the existing file gets overwritten. So someone could "destroy" a file by uploading another file with the same name but with different contents. And probably it will look like the original uploader uploaded the latest ("destroyed") file. Is there any way to prevent this?

Also, a file which has been deleted (Edit --> Delete) from the file listing
will be considered still present (classified as a duplicate) by the upload function as long as mutil PackFileBases maintenance hasn't been run since the deletion. It doesn't matter whether the file actually exists on disk or not. Is there any way the dupe detection could ignore deleted entries? Or perhaps this would collide with some uniqueness constraint of the file base index files?

Best regards


--- Mystic BBS v1.12 A47 2021/07/31 (Linux/64)
* Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)