glanceclient is using posixpath for URLs

Bug #1208618 reported by justinsb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Fix Released
High
Unassigned

Bug Description

For some reason, glanceclient is using posixpath for URLs.

That's just wrong, but in particular this breaks following redirects to an absolution path location.

Revision history for this message
Jay Pipes (jaypipes) wrote :

Is this for python-glanceclient, or glance? You have the project set as glance...

Revision history for this message
justinsb (justin-fathomdb) wrote :

Thanks Jay - moved it to python-glanceclient. Didn't realize it was being tracked separately.

This bugged me so much I submitted a patch: https://review.openstack.org/#/c/40303/

Not sure if it'll be auto-linked now that it's on the right project.

affects: glance → python-glanceclient
Changed in python-glanceclient:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-glanceclient (master)

Reviewed: https://review.openstack.org/40303
Committed: http://github.com/openstack/python-glanceclient/commit/a30981e7f03317b1be06c05ff68833ffe3719fe0
Submitter: Jenkins
Branch: master

commit a30981e7f03317b1be06c05ff68833ffe3719fe0
Author: Justin Santa Barbara <email address hidden>
Date: Mon Aug 5 14:42:19 2013 -0700

    Don't use posixpath for URLs

    Use URL functions instead.

    Fixes bug #1208618

    Change-Id: I27bb29a6422200a1a522c50335e5d93d495ec429

Changed in python-glanceclient:
status: Confirmed → Fix Committed
Revision history for this message
Yang Yu (yuyangbj) wrote :

There is a regression bug after the fix is merged. See this bug. https://bugs.launchpad.net/python-glanceclient/+bug/1230032

Louis Taylor (kragniz)
Changed in python-glanceclient:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.