cloyd1815 / Laraimg

2 stars 0 forks source link

Handle re-uploads #4

Closed brendanashworth closed 9 years ago

brendanashworth commented 9 years ago

On a re-upload occurrence (there is already an md5 for that image), we need to reject the image. md5 is a broken cryptographic hash with collisions, so we cannot guarantee the new image is the same -- we must simply allow the first image to take precedence.

cloyd1815 commented 9 years ago

Maybe all of 4. Care to confirm?