diff gpp/templates/downloads/commands/wget_cat.html @ 528:311c926dd218

Must urlencode the filenames.
author Brian Neal <bgneal@gmail.com>
date Wed, 21 Dec 2011 01:25:10 +0000
parents 645025056dfa
children
line wrap: on
line diff
--- a/gpp/templates/downloads/commands/wget_cat.html	Wed Dec 21 01:08:21 2011 +0000
+++ b/gpp/templates/downloads/commands/wget_cat.html	Wed Dec 21 01:25:10 2011 +0000
@@ -1,5 +1,5 @@
 #!/bin/bash
 
 {% for dl in downloads %}
-wget -O {{ dl.dest_filename }} {{ dl.full_url }}
+wget -O {{ dl.dest_filename }} http://{{ domain }}{{ MEDIA_URL }}{{ dl.file.name|urlencode }}
 {% endfor %}