Control: reopen -1 On Mon, 21 Nov 2016, Debian Bug Tracking System wrote: > We (hopefully) do this in all cases for which there is a filename: > > $ HEAD > https://bugs.debian.org/cgi-bin/bugreport.cgi\?att\=1\;bug\=804063\;filename\=reproducible.patch\;msg\=10 > 200 OK > [...] > Content-Disposition: inline; filename="reproducible.patch"
It does not seem to be working for me either. $ curl -sI 'https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=775322;filename=775322_v5.tar.gz;msg=112' HTTP/1.1 200 OK Date: Mon, 28 Nov 2016 21:18:55 GMT Server: Apache Etag: 3dbb9e20356568e1338ec7e80806784f X-Clacks-Overhead: GNU Terry Pratchett Content-Type: application/x-gzip And in Firefox, the first time I click on the link I always get a "bugreport.cgi" filename. If I click again, then I have the desired filename. Doing multiple HEAD requests is not enough to get the desired header. But when I do two GET request in Firefox and then try again a new HEAD request, then I have the desired header: $ curl -sI 'https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=775322;filename=775322_v5.tar.gz;msg=112' HTTP/1.1 200 OK Date: Mon, 28 Nov 2016 21:20:44 GMT Server: Apache Etag: 40521391a16b049a2889601c91e4e6eb X-Clacks-Overhead: GNU Terry Pratchett Cache-Control: public, max-age=604800 Content-Disposition: inline; filename="775322_v5.tar.gz" Strict-Transport-Security: max-age=15552000 Age: 41 Content-Length: 265161 Content-Type: application/x-gzip So it looks like that I have the desired filename, only after the attachement has been cached somewhere. Maybe this is specific to some special setup made by DSA... putting them in copy. Cheers, -- Raphaël Hertzog ◈ Debian Developer Support Debian LTS: http://www.freexian.com/services/debian-lts.html Learn to master Debian: http://debian-handbook.info/get/