A file:// attachment above the inline cap exists on the server, so it is admitted with empty data and rendered to the model as a bare 'Attached file: <path>' line instead of rejecting the prompt. The cap now only rejects data: URLs, which have no path to fall back to.