[Koha-bugs] [Bug 14321] Merge UploadedFile and UploadedFiles into Koha::Upload

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 19 15:50:57 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14321

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #41559|0                           |1
        is obsolete|                            |

--- Comment #15 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 41665
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41665&action=edit
Bug 14321: Switch to Upload in opac-retrieve

A last step to obsolete UploadedFiles.pm.
Note that we now also check for the public flag. If that flag is not set,
the uploaded file cannot be reached via the opac.

This patch also the encode step to tools/upload for the http header that
could include a filename with special chars (just as in opac-retrieve).

Test plan:
[1] Check downloading a file marked public in OPAC without logging in.
    If possible, include some special chars in the filename.
[2] Check another file (not marked as public). Should not be possible.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list