← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2073836] Re: "Tagging" extension cannot add tags with charater "/"

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/924724
Committed: https://opendev.org/openstack/neutron/commit/5a558b7d132b6d5cdda2720a1b345643e08246e2
Submitter: "Zuul (22348)"
Branch:    master

commit 5a558b7d132b6d5cdda2720a1b345643e08246e2
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Sat Jul 20 20:01:40 2024 +0000

    Add new "tagging" API method: create (POST)
    
    This new method allows to create multiple tags for a single resource.
    The tags are passed as arguments in the ``POST`` call. That solves
    the issue with the usage of URI reserved characters in the name of
    the tags.
    
    Bumped neutron-lib library to version 3.15.0, that contains [1].
    
    [1]https://review.opendev.org/c/openstack/neutron-lib/+/924700
    
    APIImpact add create method for service pluging "tagging"
    Closes-Bug: #2073836
    
    Change-Id: I9709da13c321695f324fe8d6c1cdc03756660a03


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2073836

Title:
  "Tagging" extension cannot add tags with charater "/"

Status in neutron:
  Fix Released

Bug description:
  The calls to add and remove an individual tag, accept the tag as part
  of the URL path. However, a url-encoded slash character (as `%2F`) is
  interpreted as a literal slash (`/`) BEFORE path splitting:

  ```
  curl -g -i -X PUT \
          'https://neutron.example:13696/v2.0/security-groups/51d6c739-dc9e-454e-bf72-54beb2afc5f8/tags/one%2Ftwo' \
          -H "X-Auth-Token: <token>"
  HTTP/1.1 404 Not Found
  content-length: 103
  content-type: application/json
  x-openstack-request-id: req-3d5911e5-10be-41e2-b83f-5b6ea5b0bbdf
  date: Mon, 22 Jul 2024 08:57:16 GMT

  {"NeutronError": {"type": "HTTPNotFound", "message": "The resource
  could not be found.", "detail": ""}}

  
  Bugzilla reference: https://bugzilla.redhat.com/show_bug.cgi?id=2299208

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2073836/+subscriptions



References