[FIX] project: fix sql injection in rating public controller

This commit is contained in:
Pragya ladda
2018-08-24 17:08:22 +02:00
committed by Raphael Collet
parent bda6d60b8e
commit 00ffef800a
+1 -1
View File
@@ -39,7 +39,7 @@ class RatingProject(http.Controller):
AND rating IN (1,5,10)
GROUP BY
rated_partner_id, rating, period
""" % (project_id))
""", (project_id, ))
raw_data = request.env.cr.dictfetchall()