Closed Bug 1469550 Opened 7 years ago Closed 7 years ago

Firefox use Cache Files for Upload

Categories

(Core :: Networking: File, defect)

60 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: weimar.deu.net, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 Build ID: 20180605171542 Steps to reproduce: Tried to update a picture file on a website. The old picture was deleted and a new picture with the same name was uploaded. Actual results: Instead of the new picture file the old picture file was uploaded. (On my Harddisk I had already deleted the old picture file, there was only the new picture file for upload.) Instead of the select picture file, Firefox uploaded the old picture file from the browser cache. Expected results: Upload the new picture.
Component: Untriaged → Networking: File
Product: Firefox → Core
We don't cache things we've read locally for upload, except (perhaps) in the bfcache. Reporter, did you upload the original picture, change the contents on disk, and then re-upload (without closing firefox or re-loading the upload page)? Also, this could be a caching bug for the website (perhaps it's responding to firefox indicating the file hasn't changed, so you see the old file, when it actually has changed). Either way, more detailed steps to reproduce + perhaps an HTTP log (https://developer.mozilla.org/en-US/docs/Mozilla/Debugging/HTTP_logging) of the upload would be helpful.
Flags: needinfo?(weimar.deu.net)
(In reply to Nicholas Hurley [:nwgh][:hurley] from comment #1) > Also, this could be a caching bug for the website (perhaps it's responding > to firefox indicating the file hasn't changed, so you see the old file, when > it actually has changed). After to reproduce the same steps, I can say its not a Firefox bug. It is a sporadic caching bug for the website, seems there is Joomla/PHP/Webserver problem. Only with Firefox 60.0.1 the admin could sporadic reproduce the problem, after monitoring the traffic we can say the new file is uploaded but written in the webspace is the old file. The admin was puzzled.
Flags: needinfo?(weimar.deu.net)
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Hm, how to close this post?
(In reply to weimar.deu.net from comment #3) > Hm, how to close this post? "Invalid" was the correct resolution for a problem that's not a bug in Firefox. https://wiki.mozilla.org/BMO/UserGuide/BugStatuses#Resolutions
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.