Format Strings in Rust 1.58
Code injection is currently the #1 language-related security vulnerability [1][2] in memory-safe languages, which is why languages should be very careful when adding string interpolation as it may well be their most security-sensitive feature: "Templated string injection attack prevention will be of primary concern. The result of template processing can to be used in sensitive applications, such as database queries. Validation of templates and expression values prior to use can prevent catastrophic outcomes." [3].[1]: https://owasp.org/www-project-top-ten/[2]: https://www.softwaretestinghelp.com/sans-top-20-security-vul...[3]: https://openjdk.java.net/jeps/8273943