OpenELEC/OpenELEC.tv — pull request #1876 by dagwieers (2013-02-08 02:03:35+00:00)
Title: Newer wget supports --trust-server-names which helps to get proper file names when redirected

Unfortunately it doesn't ship with older distributions (like RHEL6 which I am using)...