Extra slashes causing mirror probe to fail
Bug #1692347 reported by
Brad Koehn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Colin Watson |
Bug Description
I got an email from the mirror probe telling me that my mirror was offline. The log file indicated it was getting bad results from URLs like the following:
http://
Sure enough, that URL 404s when I hit it. But what's with all the extra slashes? If I navigate to my mirror and click the links to download that file, I get a URL that looks like this:
http://
I'm not sure why the mirror probe is using the extra slashes, but it's causing it to incorrectly report my mirror as being down. Please fix the mirror probe!
Related branches
lp:~cjwatson/launchpad/mirror-prober-extra-slashes
- William Grant (community): Approve (code)
-
Diff: 55 lines (+11/-4)1 file modifiedlib/lp/registry/scripts/distributionmirror_prober.py (+11/-4)
tags: |
added: qa-untestable removed: qa-needstesting |
To post a comment you must log in.
Hm. Well, we can deduplicate the slashes (one is from the trailing slash in your mirror URL, one is from a hardcoded '%s/%s' string, and one is from the start of the path field in http:// releases. ubuntu. com/.manifest), but are you sure that's really what's causing the failure? Both those URLs return 200 for me, and in general extra slashes shouldn't be a problem.