mirror prober is fooled by mirrors which return content on not founds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Guilherme Salgado |
Bug Description
https:/
This mirror returns a fluffy generic 'file not found' page instead of
a 404 which makes the mirror prober think the mirror is always
up-to-date (and it isn't, right now). e.g.
% wget -O /dev/null -S http://
--00:43:42-- http://
=> `/dev/null'
Resolving ubuntu.
Connecting to ubuntu.
HTTP request sent, awaiting response...
HTTP/1.1 302 Found
Date: Fri, 21 Mar 2008 00:42:18 GMT
Server: Apache
Location: http://
Connection: close
Content-Type: text/html; charset=iso-8859-1
Location: http://
--00:43:42-- http://
=> `/dev/null'
Resolving gd.tuwien.ac.at... 192.35.244.50
Connecting to gd.tuwien.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Date: Fri, 21 Mar 2008 00:42:18 GMT
Server: Apache
X-Powered-By: PHP/5.0.4
Connection: close
Content-Type: text/html
Length: unspecified [text/html]
[ <=> ] 8,395 --.--K/s
00:43:43 (120.76 KB/s) - `/dev/null' saved [8395]
%
I think it's reasonable to fail a mirror if it redirects you to some
URL which doesn't have the same filename as the original file you
asked for?
--
James
Changed in launchpad-foundations: | |
assignee: | nobody → salgado |
importance: | Undecided → Medium |
milestone: | none → 2.1.11 |
status: | Confirmed → In Progress |
It sounds reasonable to me.