Skip to content

Commit

Permalink
Fixed SQL Injection Vulnerabilities (#1184) (#1185)
Browse files Browse the repository at this point in the history
Fixed API `/taier/api/console/listNames` SQL Injection Vulnerabilities
(#1184)
  • Loading branch information
Jixiangup authored Jul 15, 2024
1 parent 4af3e15 commit 470fae8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<select id="listNames" resultType="java.lang.String">
select job_name
from schedule_job_cache
where job_name like '%${jobName}%'
where job_name like concat('%', #{jobName}, '%')
and is_deleted = 0;
</select>

Expand Down

0 comments on commit 470fae8

Please sign in to comment.