joomla/joomla-cms — pull request #649 by Bakual (2013-01-14 07:38:39+00:00)
Title: Fixing extension install from dynamic URLs

Since the `JInstallerHelper::downloadPackage()` function now uses `JHttpFactory::getHttp()` instead of `stream_get_meta_data()`, the "Content-Dispositon" data is now stored directly in `$response->headers['Content-Disposition']` instead of `$response->headers['wrapper_data']['Content-Disposition']`.

Currently in Joomla 3.0.2, you can't install extensions directly from an URL if the URL points to a dynamic created link with URL parameters (like in Akeeba Release System or CTransifex). This is because it doesn't detect a valid filename.

This commit fixes this.