← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1386376] Re: Validation parameter_type.url regex doesn't pass validation for IPv6 addresses

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

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

Title:
  Validation parameter_type.url regex doesn't pass validation for IPv6
  addresses

Status in OpenStack Identity (Keystone):
  Fix Released
Status in Keystone juno series:
  Fix Released

Bug description:
  Can't create an endpoint with an IPv6 address in the URL. E.g.:

  [root@XXXXXXXX ~]# curl -k -i -X POST https://localhost:35357/v3/endpoints -H "Accept: application/json" -H "X-Auth-Token: 96d82b1a36a94b439fd91d2a875380be" -H "Content-Type: application/json" -d '{"endpoint": {"interface": "admin", "name": "metering", "region": "RegionOne", "url": "https://[fd55:faaf:e1ab:3ea:9:114:251:134]:8777/v2";, "service_id": "57118ebd91094d7d8d609136d185f0dd"}}'; echo
  HTTP/1.1 400 Bad Request
  Date: Mon, 27 Oct 2014 18:42:32 GMT
  Server: Apache/2.2.15 (Red Hat)
  Vary: X-Auth-Token
  Content-Length: 182
  Connection: close
  Content-Type: application/json

  {"error": {"message": "Invalid input for field 'url'. The value is
  'https://[fd55:faaf:e1ab:3ea:9:114:251:134]:8777/v2'.", "code": 400,
  "title": "Bad Request"}}

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


References