Closed alex-harvey-z3q closed 1 month ago
The root cause appears to be unsafe quoting here https://github.com/F5Networks/terraform-provider-bigip/blob/d1eabd08c61fc53d497f9e39cce82899b026fe88/bigip/resource_bigip_command.go#L64
The possibility that the string itself contains a single quote does not appear to be handled leading to our issue.
I assume that if the input contained only 1 single quote you'd end up with a syntax error but I haven't tested.
Hi,
Thanks for reporting. Added to the backlog and internal tracking ID for this request is: INFRAANO-1675.
Environment
Summary
Use of single quotes in the bigip_command resource cause unexpected behaviour. For example:
Steps To Reproduce
Expected Behavior
The result should contain
hello world
.Actual Behavior
The result is an empty string.