Bug Description
Shift-JISエンコードのファイル(txt, csvなど)を添付すると、MIMEタイプがapplication/octet-streamとして認識され、バリデーションエラーが発生してファイルを処理できない。
Steps to Reproduce
- Shift-JISエンコードのテキストファイル(例:.txt や .csv)を用意する
- GenUのチャット画面でファイルを添付する
- 送信を試みる
- 以下のエラーが発生する
An error occurred. Please report the following error to the administrator.
ValidationException: Unsupported MIME type: application/octet-stream. Retry your request with a supported file type: xlsx, txt, pdf, csv, md, doc, html, xls, docx
Expected Behavior
Shift-JISエンコードのファイルでも、拡張子(.txt, .csv等)に基づいてサポート対象として認識され、正常に添付・処理できること。
Bug Description
Shift-JISエンコードのファイル(txt, csvなど)を添付すると、MIMEタイプが
application/octet-streamとして認識され、バリデーションエラーが発生してファイルを処理できない。Steps to Reproduce
Expected Behavior
Shift-JISエンコードのファイルでも、拡張子(.txt, .csv等)に基づいてサポート対象として認識され、正常に添付・処理できること。