我现在从 Amazon S3 提供文件,并使用 API 生成一个安全 URL。除了在 IE 中下载 .exe 文件的人外,在任何地方都可以很好地工作。我已经在 IE 8 和 7 上对此进行了测试。
如果运行本地网络服务器,您可以通过将 notepad.exe 放在您的网络根目录中进行测试。转到http://localhost/notepad.exe (或等效) 现在尝试http://localhost/notepad.exe?
它应该将文件保存为记事本,没有扩展名。这是一个“功能”吗,因为谷歌搜索它什么都没有。由于IE扩展的整个问题,您无法搜索文件扩展名上的任何内容。
此外,如果文件名称中有多个句点,则有时会在末尾添加 [1] 或 []。
Any ideas? Docs on this terrible behavior? It seems like it must be a security feature, but I have yet to find an option to disable it.
And as always, thank you. Tim