Created new proc cr_check_mime_type, centralizing the retrieval of the mime_type from uploaded file's information. Applied the new proc to t…
Show more
Created new proc cr_check_mime_type, centralizing the retrieval of the mime_type from uploaded file's information.Applied the new proc to the different situations in the system when we require mime_type retrieval: content-repository, file-storage and xotcl CrItemTODO: get the real mime_type from the file content, but this would require some modification in the data model.
Show less