← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1396932] [NEW] The hostname regex pattern doesn't match valid hostnames

 

Public bug reported:

The regex used to match hostnames is opinionated, and it's opinions
differ from RFC 1123 and RFC 952.

The following hostnames will fail that are valid.

6952x 
openstack-1
a1a
x.x1x
example.org.

** Affects: neutron
     Importance: Undecided
     Assignee: Kevin Benton (kevinbenton)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Kevin Benton (kevinbenton)

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

Title:
  The hostname regex pattern doesn't match valid hostnames

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  The regex used to match hostnames is opinionated, and it's opinions
  differ from RFC 1123 and RFC 952.

  The following hostnames will fail that are valid.

  6952x 
  openstack-1
  a1a
  x.x1x
  example.org.

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


Follow ups

References