Bug 173548
| Summary: | Selecting iCloud file via HTML file input are not complete | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | HireHive <dev> |
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Critical | CC: | cdumez, wenson_hsieh |
| Priority: | P2 | ||
| Version: | Safari 10 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 10.3 | ||
HireHive
On iOS 10.3 we started seeing hundreds of issues of empty files being uploaded.
All the issues had a the same header which lead us to Safari on iOS 10.3
User-Agent : Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1
Files were sent to the server with a Content length of 0.
To replicate:
Go to icloud.com on a desktop
Create/Upload a file
Go to https://jsfiddle.net/xj39hdpx/show/ and upload file via iCloud
Result:
Textarea will show onerror was called
File type will be empty
File size will be a fraction of actual size
Demo link:
https://jsfiddle.net/xj39hdpx/show/
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
Duping per your comment in bug 151975. Thank you for the analysis!
*** This bug has been marked as a duplicate of bug 151975 ***