File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ruby/ql/lib/codeql/ruby/security Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ private module Shared {
62
62
*/
63
63
class HtmlSafeCallAsSink extends Sink {
64
64
HtmlSafeCallAsSink ( ) {
65
- exists ( HtmlSafeCall c , ErbOutputDirective d |
65
+ exists ( Rails :: HtmlSafeCall c , ErbOutputDirective d |
66
66
this .asExpr ( ) .getExpr ( ) = c .getReceiver ( ) and
67
67
c = d .getTerminalStmt ( )
68
68
)
@@ -160,7 +160,7 @@ private module Shared {
160
160
*/
161
161
pragma [ noinline]
162
162
private predicate renderCallLocals ( string hashKey , Expr value , ErbFile erb ) {
163
- exists ( RenderCall call , Pair kvPair |
163
+ exists ( Rails :: RenderCall call , Pair kvPair |
164
164
call .getLocals ( ) .getAKeyValuePair ( ) = kvPair and
165
165
kvPair .getValue ( ) = value and
166
166
kvPair .getKey ( ) .getConstantValue ( ) .isStringlikeValue ( hashKey ) and
You can’t perform that action at this time.
0 commit comments