Comment 3 for bug 1431367

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/116508
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=dd9fb91a3196c9e457789ca4c10b5d241b7d6456
Submitter: Jenkins
Branch: master

commit dd9fb91a3196c9e457789ca4c10b5d241b7d6456
Author: Wlodzimierz Borkowski <wlodek <email address hidden>>
Date: Sun Aug 24 15:48:18 2014 +0200

    Change ports range in validators and test function

    Current implementation for validating the port number and protocol
    number accepts invalid values. For port number it accepts -1 which is
    invalid, and the 0 which is used as programming technique for specifying
    system-allocated (dynamic) ports. For protocol number it accepts only
    one invalid value which is -1.

    Proposed solution changes the range of:
    - valid port numbers from <-1, 65535> to <1, 65535>
    - valid protocol numbers from <-1, 255> to <0, 255>

    Co-Authored-By: Wlodzimierz Borkowski <email address hidden>
    Co-Authored-By: Kamil Rykowski <email address hidden>

    Closes-Bug: 1329571
    Closes-Bug: 1431367
    Change-Id: I2dc83b611deaa0cc91d586dad1c01d8de91d1957