Use <select> for format list

This commit is contained in:
Pierre Rudloff 2016-04-10 21:42:38 +02:00
parent 24bf119a9c
commit ed7018c957
3 changed files with 22 additions and 20 deletions

View file

@ -226,7 +226,7 @@ class FrontController
$params = $request->getQueryParams();
if (isset($params["url"])) {
try {
$url = $this->download->getURL($params["url"]);
$url = $this->download->getURL($params["url"], $params["format"]);
return $response->withRedirect($url);
} catch (\Exception $e) {
$response->getBody()->write($e->getMessage());