cloudwan / gohan

Gohan is an API Gateway Server written by Go that makes it easy for developers to create and maintain REST-style API
http://www.slideshare.net/natiueno/gohan-61170476
Other
109 stars 44 forks source link

CW-997 ip addres validation #737

Closed kuba2 closed 5 years ago

kuba2 commented 5 years ago

Fixes validation in case when ip/cidr has redundant zeros in the last octet. Ips/cidrs like 1.2.3.001, 1.2.3.023/24 won't be allowed.

kuba2 commented 5 years ago

Api tests have passed.