Skip to content

Commit b6c5b4d

Browse files
committed
Ruby: define ActionViewCookiesCall
1 parent d46564c commit b6c5b4d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ruby/ql/lib/codeql/ruby/frameworks/ActionView.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ class RawCall extends ActionViewContextCall {
6666
// A call to the `params` method within the context of a template.
6767
private class ActionViewParamsCall extends ActionViewContextCall, ParamsCall { }
6868

69+
// A call to the `cookies` method within the context of a template.
70+
private class ActionViewCookiesCall extends ActionViewContextCall, CookiesCall { }
71+
6972
/**
7073
* A call to a `render` method that will populate the response body with the
7174
* rendered content.

0 commit comments

Comments
 (0)