HF RL Explorer

You are working on the element-hq/matrix-content-scanner-python repository. The source code is checked out…

You are working on the element-hq/matrix-content-scanner-python repository. The source code is checked out…: a task in SWE-Lego-RL-2699 (Harbor dataset). Current Behavior : When a file is uploaded with a MIME type that is not on the allowed list ( allowed mimetypes ), the server raises a…

The task

**Current Behavior**: When a file is uploaded with a MIME type that is not on the allowed list (`allowed_mimetypes`), the server raises a `FileDirtyError` with the error message "MCS_MEDIA_NOT_CLEAN". The term "Not Clean" suggests that the file is malicious or infected, which is misleading. The API documentation…

Part of Lego-X/Lego-RL-2699.