name parameter needs to be unquoted before passing to secrets.get

Bug #1260459 reported by Wyllys Ingersoll
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Barbican
Fix Released
High
John Vrbanac

Bug Description

The recent fix to allow for filtered queries on secrets fails if the 'name' parameter has a urlencoded value such as a "/" in it because barbican is not properly unquoting it before passing it to the secret.repo.get_by_create_date function.

This causes secrets that are named such as "12345/master" to not be found when searching by name for "12345/master".

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to barbican (master)

Reviewed: https://review.openstack.org/61993
Committed: https://git.openstack.org/cgit/stackforge/barbican/commit/?id=c18467e46cf4d90c232a8da0c0738fd36a0b3b10
Submitter: Jenkins
Branch: master

commit c18467e46cf4d90c232a8da0c0738fd36a0b3b10
Author: Wyllys Ingersoll <email address hidden>
Date: Fri Dec 13 08:39:32 2013 -0500

    Fixed to un-quote the name parameter that gets used when querying for
    secrets

    Change-Id: I799c8032f5b32d8f0f0a0d8d339afeb3c87af67d
    Fixes: Bug #1260459

Changed in barbican:
status: New → Fix Committed
John Wood (john-wood-w)
Changed in barbican:
milestone: none → icehouse-2
importance: Undecided → High
assignee: nobody → John Vrbanac (john.vrbanac)
Changed in barbican:
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.