← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1393329] [NEW] Trailing whitespaces pass IP address validation

 

Public bug reported:

Trailing whitespaces of IP address are not detected in the validation.
These whitespaces cause some troubles later.

In the following case, '\r' in the IP address is not detected.
# neutron subnet-show xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
+------------------+------------------------------------------------------+
| Field               | Value                                                            |
+------------------+------------------------------------------------------+
| allocation_pools | {"start": "10.1.1.240\r", "end": "10.1.1.250"} |
 :

** Affects: neutron
     Importance: Undecided
     Assignee: Hironori Shiina (shiina-hironori)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Hironori Shiina (shiina-hironori)

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

Title:
  Trailing whitespaces pass IP address validation

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Trailing whitespaces of IP address are not detected in the validation.
  These whitespaces cause some troubles later.

  In the following case, '\r' in the IP address is not detected.
  # neutron subnet-show xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
  +------------------+------------------------------------------------------+
  | Field               | Value                                                            |
  +------------------+------------------------------------------------------+
  | allocation_pools | {"start": "10.1.1.240\r", "end": "10.1.1.250"} |
   :

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


Follow ups

References