File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
ruby/ql/lib/codeql/ruby/frameworks Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -100,11 +100,11 @@ private DataFlow::ConstRef actionControllerBaseClass() {
100
100
// In Rails applications `ApplicationController` typically extends `ActionController::Base`, but we
101
101
// treat it separately in case the `ApplicationController` definition is not in the database.
102
102
DataFlow:: getConstant ( "ActionController" ) .getConstant ( "Base" ) ,
103
- // ActionController::Metal technically doesn 't contain all of the
103
+ // ActionController::Metal and ActionController::API technically don 't contain all of the
104
104
// methods available in Base, such as those for rendering views.
105
- // However we prefer to be over-sensitive in this case in order to find
106
- // more results.
107
- DataFlow:: getConstant ( "ActionController" ) .getConstant ( "Metal " )
105
+ // However we prefer to be over-sensitive in this case in order to find more results.
106
+ DataFlow :: getConstant ( "ActionController" ) . getConstant ( "Metal" ) ,
107
+ DataFlow:: getConstant ( "ActionController" ) .getConstant ( "API " )
108
108
]
109
109
}
110
110
You can’t perform that action at this time.
0 commit comments