yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #94292
[Bug 2073836] [NEW] "Tagging" extension cannot add tags with charater "/"
Public bug reported:
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
** Affects: neutron
Importance: Low
Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
Status: New
** Changed in: neutron
Importance: Undecided => Low
** Changed in: neutron
Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)
--
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:
New
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
Follow ups