You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
netscaler_nitro_request has a parameter filter, that accepts a dict of filter options.
However, the code only ever parses the first element, whilst it should combine them with an & instead.
Will try and make a PR later on, should be quite a trivial fix.
ISSUE TYPE
Bug Report
COMPONENT NAME
netscaler_nitro_api
ANSIBLE VERSION
2.9.9
STEPS TO REPRODUCE
Make a netscaler_nitro_request with operation get_filtered
That urlencode would also make more sense to be done in python, rather than in yaml..
EXPECTED RESULTS
The request that is sent to netscaler contains all filters. In case of the above: https://mynetscaler.mydomain.mytld/nitro/v1/config/sslcertkey?filter=certificatetype:%2FROOT_CERT%7CINTM_CERT%2F,subject:%2FCOMODO%2F
ACTUAL RESULTS
The request only contains the first filter from the dict: https://mynetscaler.mydomain.mytld/nitro/v1/config/sslcertkey?filter=certificatetype:%2FROOT_CERT%7CINTM_CERT%2F
The text was updated successfully, but these errors were encountered:
SUMMARY
netscaler_nitro_request has a parameter
filter
, that accepts a dict of filter options.However, the code only ever parses the first element, whilst it should combine them with an
&
instead.Will try and make a PR later on, should be quite a trivial fix.
ISSUE TYPE
COMPONENT NAME
netscaler_nitro_api
ANSIBLE VERSION
2.9.9
STEPS TO REPRODUCE
Make a netscaler_nitro_request with operation
get_filtered
That urlencode would also make more sense to be done in python, rather than in yaml..
EXPECTED RESULTS
The request that is sent to netscaler contains all filters. In case of the above:
https://mynetscaler.mydomain.mytld/nitro/v1/config/sslcertkey?filter=certificatetype:%2FROOT_CERT%7CINTM_CERT%2F,subject:%2FCOMODO%2F
ACTUAL RESULTS
The request only contains the first filter from the dict:
https://mynetscaler.mydomain.mytld/nitro/v1/config/sslcertkey?filter=certificatetype:%2FROOT_CERT%7CINTM_CERT%2F
The text was updated successfully, but these errors were encountered: