We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9651fa1 commit 5d356dfCopy full SHA for 5d356df
ruby/ql/lib/codeql/ruby/frameworks/ActiveResource.qll
@@ -41,8 +41,10 @@ module ActiveResource {
41
/** Gets the API node for this model */
42
API::Node getModelApiNode() { result = model }
43
44
+ /** Gets a call to `site=`, which sets the base URL for this model. */
45
SiteAssignCall getASiteAssignment() { result.getModelClass() = this }
46
47
+ /** Holds if `c` sets a base URL which does not use HTTPS. */
48
predicate disablesCertificateValidation(SiteAssignCall c) {
49
c = this.getASiteAssignment() and
50
c.disablesCertificateValidation()
0 commit comments