Removing the posixpath in python-glanceclient has broken the old target
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Fix Released
|
Undecided
|
Yang Yu |
Bug Description
There is a bug below reported in python-glanceclient to remove the posixpath, but the fix has brought a new regression bug.
https:/
The code has been changed from
-------
if self.endpoint_path:
url = '%s/%s' % (self.endpoint_
-------
to
-------
if self.endpoint_path:
url = urlparse.
Actually, the urlparse.urljoin() can not work as the code '%s/%s' % (self.endpoint_
For example, when the self.endpoint_path is '/87823490349243', the url is '/v1/images/
description: | updated |
description: | updated |
Changed in python-glanceclient: | |
assignee: | nobody → Yang Yu (yuyangbj) |
Changed in python-glanceclient: | |
status: | Fix Committed → Fix Released |
It's too bad to introduced this issue. It should be avoided by a unit case.