joomla/joomla-platform — pull request #1859 by jms2win (2013-04-10 10:16:15+00:00)
Title: Update file.php

This is the implementation described in the bugtracker
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=11410&tracker_item_id=29826

This must be fixed in Joomla 2.5, 3.0 and 3.1