Skip to content

value of configuration option upload.max is not considered in submission form file upload #2848

Description

@saschaszott

Bug Description

The DS 7 documentation (https://wiki.lyrasis.org/display/DSDOC7x/Submission+User+Interface) contains a description of the (backend) configuration option upload.max

maxSize: Optionally, you can specify a maximum size of file accepted by this UploadConfiguration. If unspecified, default is to use "upload.max" in dspace.cfg/local.cfg, or have no maximum.

We've included upload.max = 2000 (assuming that the value has to be given in bytes) in local.cfg. The submission configuration (access-conditions.xml as well as item-submission.xml) does not contain maxSize.

The DS frontend does not prevent the upload of a 10 MB file via the upload step in the submission form. Furthermore, the DS backend does not validate the size of the incoming file.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions