dlareau / puzzlehunt_server

Server for Puzzle hunts run by Puzzlehunt CMU, but can be repurposed for other hunts.
MIT License
19 stars 16 forks source link

Clearing a puzzle file does not actually delete the file from server #148

Closed samuel-yeom closed 4 years ago

samuel-yeom commented 4 years ago

When I check the "Clear" box to remove the already uploaded puzzle file (pdf or zip), the file is still accessible from the server. Uploading a new ZIP file should delete all files from previous uploads in order to avoid accidental leakage of information.

dlareau commented 4 years ago

Huh..... Thats odd. The clear checkbox is just a builtin function of the admin for a file-field. I just figured it would do exactly what you said it should be doing but I guess not. I'll look into it.

In the meantime if there is anything up there that is actually a problem I can point you towards how to delete the files on the server.

dlareau commented 4 years ago

Fixed in b0d40d4, to be deployed along with #146 very shortly.