The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 2.000000 - 2021-03-04

  • Added test for heredoc terminators https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/pull/17 (Victor Efimov)
  • Reset `_sqlsafe` when scanning multiple documents; added tests https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/pull/22 (Charlie Garrison)
  • New test cases related to anonymous functions https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/pull/18 (Victor Efimov)
  • Add safe_context configuration option https://github.com/guillaumeaubert/Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection/pull/23 (Nelson Ferraz)
  • Added a new "prefer_upper_case_keywords" configuration option (Olaf Alders)
  • Added detection for ALTER, CREATE and DROP statements.

Modules

Prevent SQL injection in interpolated strings.