File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ trait XPathFilterTrait
8989 * The goal is preventing DoS attacks by limiting the complexity of the XPath expression by only allowing
9090 * a select subset of functions and axes.
9191 * The check uses a list of allowed functions and axes, and throws an exception when an unknown function
92- * or axis is found in the $xpath_expression .
92+ * or axis is found in the $value .
9393 *
9494 * Limitations:
9595 * - The implementation is based on regular expressions, and does not employ an XPath 1.0 parser. It may not
@@ -183,7 +183,7 @@ public static function validAllowedXPathAxes(
183183 string $ message = '' ,
184184 ): void {
185185 /**
186- * Check if the $xpath_expression uses an XPath axis that is not in the list of allowed axes
186+ * Check if the $value uses an XPath axis that is not in the list of allowed axes
187187 *
188188 * Look for the axis specifier '::' and look for a function name before it.
189189 * Ignoring whitespace before the '::' and the axis name.
You can’t perform that action at this time.
0 commit comments