Ticket/12175 Fix and run functional upload tests 

http://tracker.phpbb.com/browse/PHPBB3-12175