Opened 12 years ago
Closed 12 years ago
#7271 closed bug
Chome doesn't copy the uploaded file ref
Reported by: | Owned by: | ||
---|---|---|---|
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.
Change History (3)
comment:1 follow-up: 2 Changed 12 years ago by
Component: | unfiled → manipulation |
---|---|
Keywords: | clone security file added |
Owner: | set to [email protected]… |
Status: | new → pending |
comment:2 Changed 12 years ago by
Replying to 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. http://jsbin.com/opehu3/6/ Choose a file, and then hit "Copy File Input". In FireFox the copied input also has the selected file; in Chrome, it's blank.
comment:3 Changed 12 years ago by
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.