Skip to content

Commit f5be407

Browse files
committed
Ruby: deprecate old ProtectFromForgeryCall class
1 parent 7b3f1a0 commit f5be407

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,11 @@ class ActionControllerSkipForgeryProtectionCall extends CsrfProtectionSetting::R
441441
override boolean getVerificationSetting() { result = false }
442442
}
443443

444+
/**
445+
* DEPRECATED: Use `ActionController::ProtectFromForgeryCall` instead.
446+
*/
447+
deprecated class ActionControllerProtectFromForgeryCall = ActionController::ProtectFromForgeryCall;
448+
444449
/**
445450
* A call to `send_file`, which sends the file at the given path to the client.
446451
*/

0 commit comments

Comments
 (0)