Re: NGINX R19 Javascript bug with keyval maps

2019-09-10 Thread j94305
I did. They said it works as designed as keyval maps with type=ip have no option to retrieve the status of entries other than by supplying IP addresses. Values cannot be retrieved anymore if the key needs to be a CIDR block. I am doing a workaround now. --j. Posted at Nginx Forum: https://forum

Re: NGINX R19 Javascript bug with keyval maps

2019-09-04 Thread Maxim Konovalov
Hello. On 04/09/2019 06:20, j94305 wrote: > A little correction to my earlier message: IPv6 addresses also seem to work. > In my test, I was checking for a dot in the key, and that excluded IPv6 > addresses. > > However, CIDR ranges still fail. > Please approach nginx-plus support with this issu

Re: NGINX R19 Javascript bug with keyval maps

2019-09-03 Thread j94305
A little correction to my earlier message: IPv6 addresses also seem to work. In my test, I was checking for a dot in the key, and that excluded IPv6 addresses. However, CIDR ranges still fail. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,285542,285543#msg-285543 ___

NGINX R19 Javascript bug with keyval maps

2019-09-03 Thread j94305
The new R19 introduces "type=ip" keyval maps. Posting IP addresses (e.g., 1.2.3.4) seems to work from both, the API 5 REST calls and from Javascript, except IPv6 addresses are not accepted. Posting CIDR blocks (e.g., 1.2.3.0/24) works fine via the API 5 REST calls but not via Javascript. CIDR ent