Side navigation
#7271 closed bug ()
Opened October 21, 2010 07:35PM UTC
Closed November 11, 2010 11:09PM UTC
Chome doesn't copy the uploaded file ref
Reported by: | droberts@dimagi.com | Owned by: | droberts@dimagi.com |
---|---|---|---|
Priority: | undecided | Milestone: | 1.5 |
Component: | manipulation | Version: | 1.4.2 |
Keywords: | clone security file | Cc: | |
Blocked by: | Blocking: |
Description
If you have an <input type="file" /> and you .clone() it after someone selects a file to upload, I would expect the ref to that file to be copied as well. This is the case in FireFox but it seems not to be copied Chrome.
Attachments (0)
Change History (3)
Changed October 21, 2010 07:38PM UTC by comment:1
component: | unfiled → manipulation |
---|---|
keywords: | → clone security file |
owner: | → droberts@dimagi.com |
status: | new → pending |
Changed October 21, 2010 08:36PM UTC by comment:2
Replying to [comment:1 SlexAxton]:
I believe this is a security feature of chrome. I don't think there's anything we can do about it? Did it work in some previous version of jQuery, or in another library? Also please provide a jsFiddle or jsbin link to show exactly how to reproduce this.
Here's a jsbin link that shows what I mean.
Choose a file, and then hit "Copy File Input". In FireFox the copied input also has the selected file; in Chrome, it's blank.
Changed November 11, 2010 11:09PM UTC by comment:3
status: | pending → closed |
---|
Automatically closed due to 14 days of inactivity.
I believe this is a security feature of chrome. I don't think there's anything we can do about it?
Did it work in some previous version of jQuery, or in another library?
Also please provide a jsFiddle or jsbin link to show exactly how to reproduce this.