Merge pull request #9132 from github/nickrolfe/misspelling

QL for QL: generalise non-US spelling query
This commit is contained in:
Nick Rolfe
2022-05-16 16:03:36 +01:00
committed by GitHub
109 changed files with 9306 additions and 194 deletions

View File

@@ -1,5 +1,5 @@
/**
* Provides classes and predicates for definining flow summaries.
* Provides classes and predicates for defining flow summaries.
*/
import java

View File

@@ -305,7 +305,7 @@ cached
private module Cached {
/**
* If needed, call this predicate from `DataFlowImplSpecific.qll` in order to
* force a stage-dependency on the `DataFlowImplCommon.qll` stage and therby
* force a stage-dependency on the `DataFlowImplCommon.qll` stage and thereby
* collapsing the two stages.
*/
cached

View File

@@ -1,5 +1,5 @@
/**
* Provides Java specific classes and predicates for definining flow summaries.
* Provides Java specific classes and predicates for defining flow summaries.
*/
private import java

View File

@@ -1,4 +1,4 @@
/** Provides classes to reason about Expression Langauge (JEXL) injection vulnerabilities. */
/** Provides classes to reason about Expression Language (JEXL) injection vulnerabilities. */
import java
import semmle.code.java.dataflow.TaintTracking

View File

@@ -1,4 +1,4 @@
/** Provides sink models relating to Expression Langauge (JEXL) injection vulnerabilities. */
/** Provides sink models relating to Expression Language (JEXL) injection vulnerabilities. */
private import semmle.code.java.dataflow.ExternalFlow

View File

@@ -1049,7 +1049,7 @@ class SafeTransformerFactory extends VarAccess {
}
}
/** A `Transformer` created from a safely configured `TranformerFactory`. */
/** A `Transformer` created from a safely configured `TransformerFactory`. */
class SafeTransformer extends MethodAccess {
SafeTransformer() {
exists(SafeTransformerFactoryFlowConfig stf, Method m |

View File

@@ -51,7 +51,7 @@
* either a single character, a set of characters represented by a
* character class, or the set of all characters.
* * The product automaton is constructed lazily, starting with pair states
* `(q, q)` where `q` is a fork, and proceding along an over-approximate
* `(q, q)` where `q` is a fork, and proceeding along an over-approximate
* step relation.
* * The over-approximate step relation allows transitions along pairs of
* abstract input symbols where the symbols have overlap in the characters they accept.

View File

@@ -43,7 +43,7 @@ class UriGetHostMethod extends Method {
}
/**
* The method access with incorrect string comparision
* The method access with incorrect string comparison
*/
class HostVerificationMethodAccess extends MethodAccess {
HostVerificationMethodAccess() {

View File

@@ -181,7 +181,7 @@ private string expectationCommentPattern() { result = "\\s*\\$((?:[^/]|/[^/])*)(
/**
* The possible columns in an expectation comment. The `TDefaultColumn` branch represents the first
* column in a comment. This column is not precedeeded by a name. `TNamedColumn(name)` represents a
* column containing expected results preceeded by the string `name:`.
* column containing expected results preceded by the string `name:`.
*/
private newtype TColumn =
TDefaultColumn() or