console.OutStyle() arguments escaping #4025
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
Hi,
if you send an argument to console.OutStyle() that contains a '%' sign, the sign will get interpreted as a formatting directive instead of being printed out.
Example:
console.OutStyle("option", "%s", "HTTP_PROXY=http://user%40example.com:[email protected]:8080")
will print out
HTTP_PROXY=http://user%!e(MISSING)xample.com:[email protected]:8080
instead of
HTTP_PROXY=http://user%40example.com:[email protected]:8080
The text was updated successfully, but these errors were encountered: