Mac 上的 Chrome 9.0 两次提示输入表单

发布于 2024-10-06 21:08:56 字数 717 浏览 0 评论 0原文

我在 Mac 上使用 Google Chrome 9.0,由于某种原因,每当我使用 enctype 形式将文件上传到网站时,Chrome 都会提示我输入该文件两次。我单击该按钮,然后选择一个文件并单击“选择”,然后再次弹出文件对话框。我在第二个对话框中选择的文件是最终上传到网站的文件。我在 Firefox 或 Safari 中没有遇到同样的问题。我在这里设置了一个简化的测试用例:

http://rssafter5.appspot.com/index2.html

你知道问题出在哪里吗?

<div id="container" style="margin-top:50px;"> 

    <form enctype="multipart/form-data" id="opml" method="post" action="/opml/myfeeds_after5.opml"> 

        <input type="file" style="width: 380px;" name="opml_file"> 
        <input type="submit" id="file_sub_button" value="Submit OPML File"> 
    </form> 

</div> 

I'm using Google Chrome 9.0 on a Mac, and for some reason whenever I upload a file to a site using the form enctype Chrome prompts me for the file twice. I click on the button, then select a file and click "Choose," and then the file dialog pops up again. The file I select in the second dialog is the one that is eventually uploaded to the site. I do not have the same problem in Firefox or Safari. I set up a reduced test case here:

http://rssafter5.appspot.com/index2.html

Do you know what the problem is?

<div id="container" style="margin-top:50px;"> 

    <form enctype="multipart/form-data" id="opml" method="post" action="/opml/myfeeds_after5.opml"> 

        <input type="file" style="width: 380px;" name="opml_file"> 
        <input type="submit" id="file_sub_button" value="Submit OPML File"> 
    </form> 

</div> 

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

柏林苍穹下 2024-10-13 21:08:56

此问题已在最新的 Chrome 版本 - 9.0.597.10 - http:// code.google.com/p/chromium/issues/detail?id=65532

更新,它可能会得到修复

This is fixed in the latest Chrome build - 9.0.597.10 - http://code.google.com/p/chromium/issues/detail?id=65532

Update and it will probably be fixed

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文