gifocus_create_csv.php returned the actual CSV with Content-Disposition: attachment.Content-Disposition was present, the script took the if (disposition) branch, constructed an in-memory Blob, and triggered an anchor download (a.click()). In Menlo, clicking a blob download link automatically opens a new tab and scans the file normally without errors.fetch() with a CSV file, Menlo Proxy intercepted the response and substituted it with Menlo's HTML download page (Content-Type: text/html, NO Content-Disposition header).Content-Disposition was null, GIFOCUS executed its fallback error branch:
const doc = new DOMParser().parseFromString(await res.text(), 'text/html');
document.body.innerHTML = doc.body.innerHTML; // Strips Menlo's <head> CSS & JS!
Here is what all Japanese terms in the customer's portal and error screens mean:
| Japanese Text (Customer View) | English Translation | Context |
|---|---|---|
| CSV出力 (絞り込み) | CSV Export (Filter) | Screen title of mg03d01 dialog |
| 指定された条件によりユーザデータよりCSVファイルの出力を行います。 | Exports CSV file from user data based on specified conditions. | Dialog description |
| 対象ユーザデータ | Target User Data | Form dropdown (e.g. IT-116) |
| 検索項目 | Search Filter Item | Filter criteria input fields |
| ファイルダウンロード中 | File download in progress / Contacting server | Menlo status #loading (should be hidden) |
| ドキュメントを読み込んでいます... | Loading document... | Menlo status #transfer (should be hidden) |
| エラーが発生しました 以下のファイル処理中に問題が発生しました: ファイル名 : IT-116_...csv リトライしてください。 |
An error occurred A problem occurred while processing the following file: File Name: IT-116_...csv Please retry. |
Menlo block-error #block-error. Not a real error! Renders only because Menlo's .hidden { display: none } CSS was lost! |
| コンテンツのスキャンが完了しました | Content scan completed (Clean) | Menlo SafeDocs status inside the viewer iframe |
| ファイルダウンロードでiframeの使用が要求されています。 | An iframe is required for file download. | Fallback text inside #download_monitor iframe |
⚠️ Repro Customer Issue.<head> was discarded, file-download.css is missing: .hidden does not work in Bootstrap 5, so "ファイルダウンロード中", "ドキュメントを読み込んでいます...", and "エラーが発生しました" are all shown at the same time!#download_monitor) collapses to the browser default 300×150 pixels.✔ Baseline: Normal Direct CSV.Content-Disposition: attachment. The script executes the blob download path and saves the CSV directly without destroying the UI.fetch() and navigates the iframe natively, demonstrating that Menlo's full HTML page loads with its <head> and styles intact when not intercepted via AJAX.