Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
OpenCMIS 1.0.0
-
None
-
None
Description
Sometimes content streams get corrupted over the wire. Content stream hashes are often used to protect against these corruptions.
Apache Chemistry OpenCMIS should validate contentStream input to AtomPub and Browser Binding CMIS operations, including setContentStream, appendContentStream, checkIn, and createDocument, by comparing the content stream MD5 hash against a Content-MD5 MIME header if present. A CMIS invalidArgument exception should be thrown if the hashes are not equal.