【发布时间】:2012-02-24 13:57:04
【问题描述】:
问题是当我过滤订单导出时,有时我会在 Google Chrome 中收到此错误:
Duplicate headers received from server
The response from the server contained duplicate headers. This problem is generally the result of a misconfigured website or proxy. Only the website or proxy administrator can fix this issue.
Error 349 (net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION): Multiple Content-Disposition headers received. This is disallowed to protect against HTTP response splitting attacks.
我说的是Sales > Orders 屏幕。
假设我按 订单号 对其进行过滤,这样我只想将 1 个实际订单导出到 .csv 文件。
在 FF、IE 等中,这似乎可行。大多数情况下,它也可以在 Chrome 中运行(16 - 发布本文时的最新版本)。
根据这篇文章:'Duplicate headers received from server' Error in Chrome 16 with EPPlus 2.9 他能够推断出这与“,”作为分隔符有关。
我尝试转到 lib/Varien/File/Csv.php 并将分隔符更改为“;”但这似乎不起作用...
大家有什么建议吗?
注意:Chrome 本身有一些修复(我认为),但如果可能,我想通过 Magento 修复它。
【问题讨论】:
标签: magento google-chrome magento-1.5 export-to-csv