Fix #1593 : "download" query parameter is not working anymore on permalink URIs
Merge pull request #813 from romainneutron/fix-1593

[3.8] Fix #1593 : "download" query parameter is not working anymore on permalink URIs