1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/8de1ee93943b/ changeset: 8de1ee93943b user: dan date: 2012-03-06 21:43:32 summary: Fix for Error 349 (net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION) when downloading exported histories. affected #: 1 file diff -r c7192cd00414c7452bc6ee1547ad9622c3840e25 -r 8de1ee93943b06bbdbf21a11bf574db4d38793d7 lib/galaxy/web/controllers/history.py --- a/lib/galaxy/web/controllers/history.py +++ b/lib/galaxy/web/controllers/history.py @@ -657,12 +657,13 @@ valid_chars = '.,^_-()[]0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' hname = history.name hname = ''.join(c in valid_chars and c or '_' for c in hname)[0:150] - trans.response.headers["Content-Disposition"] = "attachment; filename=Galaxy-History-%s.tar" % ( hname ) + hname = "Galaxy-History-%s.tar" % ( hname ) if jeha.compressed: - trans.response.headers["Content-Disposition"] += ".gz" + hname += ".gz" trans.response.set_content_type( 'application/x-gzip' ) else: trans.response.set_content_type( 'application/x-tar' ) + trans.response.headers["Content-Disposition"] = 'attachment; filename="%s"' % ( hname ) return trans.app.object_store.get_data(jeha.dataset) elif jeha.job.state in [ model.Job.states.RUNNING, model.Job.states.QUEUED, model.Job.states.WAITING ]: return trans.show_message( "Still exporting history %(n)s; please check back soon. Link: <a href='%(s)s'>%(s)s</a>" \ Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.