List image API fail with direct name query if name includes ":" colon
Bug #2077010 reported by
Masahito Muroi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
New
|
Undecided
|
Unassigned |
Bug Description
If image name includes ":" (colon) in its image name, ?name=<image name> query filter doesn't work. The split_filter_op[1] always treats ":" character as a separator, so the ":" in the name is wrongly handled.
How to Reproduce
1. Create an image which name includes ":"
2. Make an API request to List Image API using ?name=<image name> query
$ openstack image list --name "Rocky Linux 9.3:20240315"
BadRequestExcep
To post a comment you must log in.