<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/odoo/addons/test_lint/tests/_odoo_checker_sql_injection.py, branch 14.0</title>
<subtitle>The current checkout of upstream Odoo</subtitle>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/'/>
<entry>
<title>[FIX] test_lint, *: false negative in sql injection linter</title>
<updated>2020-07-10T07:12:35+00:00</updated>
<author>
<name>Xavier Morel</name>
<email>xmo@odoo.com</email>
</author>
<published>2020-06-23T10:27:20+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=e162e6f714e725553cf41e21e160c09f5d107d81'/>
<id>e162e6f714e725553cf41e21e160c09f5d107d81</id>
<content type='text'>
The linter would miss / fail to warn on injection of *local variables*
in some cases.

Try to improve it to be stricter and more reliable, after discussion
with odo, sql which is "correctly" dynamic should use psycopg2's sql
package in order to bypass the linter (bonus: it should also properly
escape &amp; quote identifiers).

closes odoo/odoo#53938

Related: odoo/enterprise#11718
Signed-off-by: Xavier Morel (xmo) &lt;xmo@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The linter would miss / fail to warn on injection of *local variables*
in some cases.

Try to improve it to be stricter and more reliable, after discussion
with odo, sql which is "correctly" dynamic should use psycopg2's sql
package in order to bypass the linter (bonus: it should also properly
escape &amp; quote identifiers).

closes odoo/odoo#53938

Related: odoo/enterprise#11718
Signed-off-by: Xavier Morel (xmo) &lt;xmo@odoo.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ADD] test_lint: Add sql-injection pylint check</title>
<updated>2019-10-02T14:16:38+00:00</updated>
<author>
<name>Moisés López</name>
<email>moylop260@vauxoo.com</email>
</author>
<published>2019-08-20T16:58:35+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=a5251e1d40d9bd833993bf1618fc2760adb6567a'/>
<id>a5251e1d40d9bd833993bf1618fc2760adb6567a</id>
<content type='text'>
closes odoo/odoo#36583

Signed-off-by: Xavier Morel (xmo) &lt;xmo@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
closes odoo/odoo#36583

Signed-off-by: Xavier Morel (xmo) &lt;xmo@odoo.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
