[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#764779: Sourceforge.net redirector downloads HTML instead of target file



Control: reassign -1 devscripts
Control: forcemerge 764367 -1

On Fri, Oct 10, 2014 at 07:14:44PM -0400, Ari Pollak wrote:
> When I use uscan to download, say,
> https://qa.debian.org/watch/sf.php/pidgin/pidgin-2.10.9.tar.bz2.asc,
> it downloads an HTML redirector page instead of the target file.

This is a problem in uscan, not in the redirector.  In devscripts
2.14.7, we started adding a Referer header in uscan's HTTP requests.
When Sourceforge gets a request to download an archive with a Referer
header present (or more likely, one that isn't from Sourceforge), it
responds with the "Your download will start in 5 seconds" page, which
uscan gladly downloads.

A fix is pending and will be uploaded soon.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan@debian.org>

Attachment: signature.asc
Description: Digital signature


Reply to: