https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39812

David Cook <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from David Cook <[email protected]> ---
Are you referring to the "Tools > Uploads" feature? 

--

It looks like the key is a MD5 hash of a whole bunch of different parameters. 

For temporary uploads, the time of the upload is one of the parameters, which
is weird.

For permanent up loads, time isn't used.

But for all uploads, the first 2048 bytes of the file is also used as one of
the parameters. 

Honestly, I find that a bit... wild. Surely just hashing the category +
filename would've been sufficient.

That said... if you replace the contents of a file and don't change the
hashvalue, you could experience caching problems. 

Pros and cons to the different methods. I suppose there could be a system
preference that allows for different methods for computing the hash value. 

Not something I'm likely to work on, but it's an interesting idea. 

It actually makes you think a bit about the philosophy of files and documents
in general. What IS the document? Is it the name, is it the content, etc. 

Anyway, if you're not referring to "Tools > Uploads", then the answer might be
something else.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to