MantisBT - NetSurf
View Issue Details
0002175NetSurf[All Projects] Generalpublic2014-07-25 23:412017-05-08 22:50
ReporterChris Young 
Assigned ToChris Young 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionunable to reproduce 
PlatformAmigaOSAmigaOSOS Version4.1
Product Version3.2 
Target VersionFixed in Version3.7 
Fixed in CI build #
Reported in CI build #2028
URL of problem pagehttp://prdownloads.sourceforge.net/scummvm/scummvm-1.7.0-amigaos4.lha?download
Summary0002175: Bad redirect URL
DescriptionOriginal report:
I was trying to download the latest AmigaOS4 version of ScummVM from http://scummvm.org/downloads , but after clicking on the "AmigaOS4 package" link an error requester popped up with "Bad redirect URL". The same link works fine with OWB/Odyssey. Any idea why this is happening? Could it be JavaScript-related? I˙m on the latest test build, 0002024.
Steps To ReproduceVisit http://scummvm.org/downloads/?p=downloads
Click on the "AmigaOS 4 package" link (all the release binary links do the same thing)
OR click the link below.

Directly visiting (typing in) http://prdownloads.sourceforge.net/scummvm/scummvm-1.7.0-amigaos4.lha?download brings the file up as expected.
Additional InformationLog attached
TagsNo tags attached.
Attached Fileslog ns.log (714,347) 2014-07-25 23:41
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=177&type=bug

Notes
(0000434)
kinnison   
2014-08-03 13:33   
Interestingly this appears to be a redirect loop in SourceForge's download servers which results in us aborting (which gives bad redirect).

If we then go direct to one of the download links which kept 302'ing before, it downloads the file, which suggests that the referer is relevant to this failure mode.

What's also interesting is that we don't get this behaviour in other browsers, instead sourceforge supply a download page which then counts down and downloads the file.
(0000452)
Chris Young   
2014-08-25 16:35   
The download links at http://www.7-zip.org/sdk.html have the same problem. Again, hosted on Sourceforge, but the path format is slightly different.
(0001556)
Chris Young   
2017-05-08 22:50   
I've just tried randomly downloading something from Sourceforge (none of the mentioned sites actually host on Sourceforge now, so I couldn't try the original links), and it worked fine so I'm assuming this has been fixed, either in NetSurf or on the sf.net servers.

Issue History
2014-07-25 23:41Chris YoungNew Issue
2014-07-25 23:41Chris YoungFile Added: ns.log
2014-07-25 23:42Chris YoungURL of problem pagehttp://scummvm.org/downloads/?p=downloads => http://prdownloads.sourceforge.net/scummvm/scummvm-1.7.0-amigaos4.lha?download
2014-07-25 23:42Chris YoungSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1305#r1305
2014-07-29 15:26Vincent SandersStatusnew => acknowledged
2014-07-29 15:26Vincent SandersDescription Updatedbug_revision_view_page.php?rev_id=1311#r1311
2014-07-29 15:26Vincent SandersSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1312#r1312
2014-08-03 13:33kinnisonNote Added: 0000434
2014-08-25 16:35Chris YoungNote Added: 0000452
2017-05-08 22:50Chris YoungAssigned To => Chris Young
2017-05-08 22:50Chris YoungStatusacknowledged => closed
2017-05-08 22:50Chris YoungResolutionopen => unable to reproduce
2017-05-08 22:50Chris YoungFixed in Version => 3.7
2017-05-08 22:50Chris YoungNote Added: 0001556