0

Firebug gives the 302, and chromes throws the other message. Basically, I'm just trying to upload images with carrierwave and then I display the thumbnail in my rails app. This works on demo and staging servers, but not on production for some reason. Any ideas as to why this may be?

<%= form_for Image.new, :html => {:multipart => true} do |g| %>
<%= g.text_field :whence, :id => "postWhence"%>
<%= g.file_field :image, :id => "postImage_file_field", multiple: true, name: "image[image]" %>
<%= g.file_field :image, :id =>"postLogo_file_field"%>
<% end %>
4

1 回答 1

1

您在生产中使用 https 吗?如果是这样,您正在访问的页面是否通过 http 而不是 https 提供任何内容?

这听起来像您有一个 https 站点通过 http 而不是 https 提供内容,许多现代浏览器会将其检测为安全问题。

于 2013-05-08T16:05:12.333 回答