KamoCRM

Files_upload sends the type and digests ConversionService checks (SITP TP13)

FixMCPGatewayService
Shipped
October 18, 2026 at 5:43 PM UTC
Author
Kamo
Commit
2ccbf08

ConversionService detects a file's type from its bytes and name and refuses a declared type that differs, then compares the client's Blake3 and SHA3-256 digests with its own. files_upload now computes all three with the same shared code (MimeTypeDetectionUtils, HashUtils) and drops its mime argument, which could only disagree.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing