← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1654084] Re: Listing users with non-existent filter returns all users

 

According to the HTTP spec the query args are part of the URL, these are
invalid and should result in a 4xx error. However, even the great google
doesn't adhere to that, try the following:

https://www.google.com/#q=search+for+something&invalid=param&more=stuff

With that said, I tried looking up what the API working group has to say
about this:

http://specs.openstack.org/openstack/api-
wg/guidelines/pagination_filter_sort.html

But no luck, let's bounce this bug off of them and see what they have to
say.

** Also affects: openstack-api-wg
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1654084

Title:
  Listing users with non-existent filter returns all users

Status in OpenStack Identity (keystone):
  Confirmed
Status in openstack-api-wg:
  New

Bug description:
  Using devstack all in one and running the get request:

  curl -X GET 'localhost:35357/v3/users/?cake=isgood'

  gives me back the entire user list instead of an error.
  I also ran this query with httpie and this is what the neat
  version of the output looks like:
  http://paste.openstack.org/show/593916/

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


References