← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1284430] Re: check the url format when create endpoint

 

** Also affects: python-openstackclient
   Importance: Undecided
       Status: New

** No longer affects: python-openstackclient

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

Title:
  check the url format when create endpoint

Status in OpenStack Identity (Keystone):
  In Progress

Bug description:
  Currently, the url allows any parameters when create endpoint, such as:
  curl -i -H "X-Auth-Token:admin" -H "Content-Type:application/json" http://127.0.0.1:35357/v3/endpoints -d '{"endpoint":{"interface":"test","service_id":"d893b85ae4f842d5bb1727e271cf5be3","url":"111"}}'

  HTTP/1.1 201 Created
  Vary: X-Auth-Token
  Content-Type: application/json
  Content-Length: 252
  Date: Tue, 25 Feb 2014 03:13:30 GMT

  {"endpoint": {"links": {"self":
  "http://192.168.70.108:5000/v3/endpoints/81638ad18b9e4495aac576c006c1fed1"},
  "url": "111", "region": null, "interface": "test", "service_id":
  "d893b85ae4f842d5bb1727e271cf5be3", "id":
  "81638ad18b9e4495aac576c006c1fed1"}}

  
  Should we add a check that the url parameter must be url format like?

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


References