[FS#374] Github release tarballs should use content-disposition to set correct file name

LEDE Bugs lede-bugs at lists.infradead.org
Sat Jan 7 06:08:06 PST 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - diizzyy (diizzyy) 

Attached to Project - LEDE Project
Summary - Github release tarballs should use content-disposition to set correct file name
Task Type - Feature Request
Category - Packages
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Right now our download facility doesn't set file names using the content-disposition header resulting is somewhat broken handling of downloads.

https://github.com/coova/coova-chilli/archive/1.4.tar.gz --> 1.4.tar.gz
https://codeload.github.com/coova/coova-chilli/tar.gz/1.4 --> 1.4

Telling wget to use --content-disposition switch --> coova-chilli-1.4.tar.gz

As a result we end up with clashing file names right now.
http://sources.lede-project.org/ .tar.gz and/or v.tar.gz depending on port

 

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=374



More information about the lede-bugs mailing list