remove use of HtmlSafeCall from tests

This commit is contained in:
erik-krogh
2022-10-14 15:56:04 +02:00
parent 5a98f66bef
commit e47e20c5e7
2 changed files with 0 additions and 5 deletions

View File

@@ -1,6 +1,3 @@
htmlSafeCalls
| app/views/foo/bars/show.html.erb:23:3:23:25 | call to html_safe |
| app/views/foo/bars/show.html.erb:27:3:27:25 | call to html_safe |
rawCalls
| app/views/foo/bars/_widget.html.erb:1:5:1:21 | call to raw |
| app/views/foo/bars/_widget.html.erb:2:5:2:20 | call to raw |

View File

@@ -4,8 +4,6 @@ private import codeql.ruby.frameworks.ActionView
private import codeql.ruby.frameworks.Rails
private import codeql.ruby.Concepts
query predicate htmlSafeCalls(Rails::HtmlSafeCall c) { any() }
query predicate rawCalls(RawCall c) { any() }
query predicate renderCalls(Rails::RenderCall c) { any() }