]> git.koha-community.org Git - koha.git/commit
Bug 6874: id based on contents, filename, and directory.
authorMark Tompsett <mtompset@hotmail.com>
Thu, 17 Apr 2014 00:49:02 +0000 (20:49 -0400)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Fri, 7 Aug 2015 18:23:28 +0000 (15:23 -0300)
commitb36f4674a0ba2f4b6e76481dec2905494a3e2b78
treea5a257199ecaaaab4a364585d7e1f9e2c4e3d696
parenta6408148bac38b8ed782e944c7ad68dc8882df2a
Bug 6874: id based on contents, filename, and directory.

This patch corrects the inability to upload the same file to a
different directory, or even a renamed file to the same
directory. By including the filename and directory as part of
the $id SHA generation, only identical files in the same
directory with the same file name will generate the same $id.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
C4/UploadedFiles.pm