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 {
6262 */
6363 class HtmlSafeCallAsSink extends Sink {
6464 HtmlSafeCallAsSink ( ) {
65- exists ( HtmlSafeCall c , ErbOutputDirective d |
65+ exists ( Rails :: HtmlSafeCall c , ErbOutputDirective d |
6666 this .asExpr ( ) .getExpr ( ) = c .getReceiver ( ) and
6767 c = d .getTerminalStmt ( )
6868 )
@@ -160,7 +160,7 @@ private module Shared {
160160 */
161161 pragma [ noinline]
162162 private predicate renderCallLocals ( string hashKey , Expr value , ErbFile erb ) {
163- exists ( RenderCall call , Pair kvPair |
163+ exists ( Rails :: RenderCall call , Pair kvPair |
164164 call .getLocals ( ) .getAKeyValuePair ( ) = kvPair and
165165 kvPair .getValue ( ) = value and
166166 kvPair .getKey ( ) .getConstantValue ( ) .isStringlikeValue ( hashKey ) and
You can’t perform that action at this time.
0 commit comments