mirror of
https://github.com/github/codeql.git
synced 2026-01-29 22:32:58 +01:00
Rename ConditionBypass* to ConditionalBypass* for consistency with other languages.
This commit is contained in:
@@ -18,10 +18,10 @@ Instead, use a configuration to store and access the values required.
|
||||
The following example shows a comparison where both the sides
|
||||
are from attacker-controlled request headers. This should be avoided.:
|
||||
</p>
|
||||
<sample src="ConditionBypassBad.go" />
|
||||
<sample src="ConditionalBypassBad.go" />
|
||||
<p>
|
||||
One way to remedy the problem is to test against a value stored in a configuration:
|
||||
</p>
|
||||
<sample src="ConditionBypassGood.go" />
|
||||
<sample src="ConditionalBypassGood.go" />
|
||||
</example>
|
||||
</qhelp>
|
||||
@@ -1 +0,0 @@
|
||||
experimental/CWE-840/ConditionBypass.ql
|
||||
1
ql/test/experimental/CWE-840/ConditionalBypass.qlref
Normal file
1
ql/test/experimental/CWE-840/ConditionalBypass.qlref
Normal file
@@ -0,0 +1 @@
|
||||
experimental/CWE-840/ConditionalBypass.ql
|
||||
Reference in New Issue
Block a user