From ec40cf0379cbbadafa84c54428a3ac218ca969d3 Mon Sep 17 00:00:00 2001 From: intrigus-lgtm <60750685+intrigus-lgtm@users.noreply.github.com> Date: Fri, 20 Mar 2020 13:55:31 +0100 Subject: [PATCH] Apply suggestions from review Co-Authored-By: Max Schaefer <54907921+max-schaefer@users.noreply.github.com> --- ql/src/experimental/Security/CWE-643/XPathInjection.qhelp | 4 ++-- ql/src/experimental/Security/CWE-643/XPathInjection.ql | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ql/src/experimental/Security/CWE-643/XPathInjection.qhelp b/ql/src/experimental/Security/CWE-643/XPathInjection.qhelp index 4996733a302..91bd0ca9e49 100644 --- a/ql/src/experimental/Security/CWE-643/XPathInjection.qhelp +++ b/ql/src/experimental/Security/CWE-643/XPathInjection.qhelp @@ -15,10 +15,10 @@ If user input must be included in an XPath expression, pre-compile the query and references to include the user input.
-For exmaple, when using the github.com/moovweb/gokogiri API, this can be done by creating a custom subtype of
+For example, when using the github.com/moovweb/gokogiri API, this can be done by creating a custom subtype of
xpath.VariableScope, and implementing
ResolveVariable(string, string) to return the user provided data. This
-custom scope can be specified when calling SearchWithVariables(), EvalXPath() or EvalXPathAsBoolean().
+custom scope can be specified when calling SearchWithVariables(), EvalXPath(), or EvalXPathAsBoolean().