environs/simplestreams/simplestreams.go leaks test:// and file:// URLs into the http.DefaultClient
Bug #1223752 reported by
John A Meinel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Expired
|
Low
|
Unassigned | ||
juju-core |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
I believe the code was written such that it wanted to isolate stuff like RegisterProtoco
However, it uses the http.DefaultTra
I'll link a branch that shows this.
At runtime, it has the property that any net/http.* request will be able to access file:// URLs. In the test suite, it means that we expose test:// URLs as well as file:// URLs to all tests.
Related branches
Changed in juju-core: | |
milestone: | none → 2.0 |
Changed in juju-core: | |
importance: | High → Medium |
tags: | added: simplestreams |
Changed in juju: | |
milestone: | 2.1-rc2 → none |
To post a comment you must log in.
Re-targeting to Juju 2.x