Image Registry tags validation

Bug #1200199 reported by Sergey Reshetnyak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Medium
Ilya Tyaptin

Bug Description

Need to do validation tag for the image.
The tag is cut off after ":" char .
Example, tag "qwe:asd" cut off to "qwe"

If you create tag "tag2!@#$%^&*()_+|_=\"[]{};,./<>?" then it is not removed.
Traceback is attach.

Tags: 0.2.1
Revision history for this message
Sergey Reshetnyak (sreshetniak) wrote :
summary: - image tag vatidation
+ Image Registry tags validation
tags: added: 0.2.1
Changed in savanna:
milestone: none → 0.2.1
importance: Undecided → Medium
status: New → Triaged
Changed in savanna:
assignee: nobody → Ilya Tyaptin (ityaptin)
Ilya Tyaptin (ityaptin)
Changed in savanna:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to savanna (master)

Fix proposed to branch: master
Review: https://review.openstack.org/37676

Changed in savanna:
milestone: 0.2.1 → 0.2.1-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to savanna (master)

Reviewed: https://review.openstack.org/37676
Committed: http://github.com/stackforge/savanna/commit/4bb456933bec9e5e0fd9678ae6fc5509f6716cc3
Submitter: Jenkins
Branch: master

commit 4bb456933bec9e5e0fd9678ae6fc5509f6716cc3
Author: Ilya Tyaptin <email address hidden>
Date: Thu Jul 18 17:06:07 2013 +0400

    Image Registry tags validation

    New format 'valid_tag' was added to jsonschema and tags check to match 'valid_tag'
    Added UT for this.

    Fixes: bug #1200199

    Change-Id: I64318b5c745074741a197a5ef1940bae900f6358

Changed in savanna:
status: In Progress → Fix Committed
Changed in savanna:
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.