-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure netscaler_nitro_request get_filtered uses all filters, fixes #48 #52
Conversation
Please add a changelog fragment. |
@felixfontein Done :) |
changelogs/fragments/52-netscaler_nitro_request-use-all-filters.yaml
Outdated
Show resolved
Hide resolved
Also, like I said: the cleanest would be to do the percent-encoding of the parameters in the module, but that's gonna create a huge backwards incompatibility, as many plays with filters like #48 probably exist. Not sure how you guys would tackle such a change? |
That's indeed a good question. I guess the best approach would be to add a new optional boolean option, That would keep current playbooks working, fix the problem in the future, and tell people who rely on no automatic percent encoding that they have to do something. I would definitely do that in a separate PR though :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@JonasVerhofste just to make sure: I assume you checked the latest version of this PR with a real service instance? |
Oh, definitely! I'll make a separate issue for it as well. Thanks for the advice!
@felixfontein I just did, works like a charm! |
@JonasVerhofste thanks for fixing this! |
SUMMARY
Loop over all filters and combine them with
&
. Before this, only the first filter was used.Won't do the urlencode in the python code for now, as that would create backwards incompatibility with existing plays ('double' urlencode, see the example in #48)
ISSUE TYPE
COMPONENT NAME
netscaler_nitro_request