mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
Apply suggestions from code review
Co-authored-by: Marcono1234 <Marcono1234@users.noreply.github.com>
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
lgtm,codescanning
|
lgtm,codescanning
|
||||||
* The query "Expression language injection (Spring)" (`java/spel-expression-injection`) has been promoted from experimental to the main query pack. Its results will now appear by default. This query was originally [submitted as an experimental query by @artem-smotrakov](https://github.com/github/codeql/pull/3291)
|
* The query "Expression language injection (Spring)" (`java/spel-expression-injection`) has been promoted from experimental to the main query pack. Its results will now appear by default. This query was originally [submitted as an experimental query by @artem-smotrakov](https://github.com/github/codeql/pull/3291).
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ class ExpressionParser extends RefType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The class `org.springframework.expression.spel.support."SimpleEvaluationContext$Builder`.
|
* The class `org.springframework.expression.spel.support.SimpleEvaluationContext$Builder`.
|
||||||
*/
|
*/
|
||||||
class SimpleEvaluationContextBuilder extends RefType {
|
class SimpleEvaluationContextBuilder extends RefType {
|
||||||
SimpleEvaluationContextBuilder() {
|
SimpleEvaluationContextBuilder() {
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ private class SafeEvaluationContextFlowConfig extends DataFlow2::Configuration {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A `ContextSource` that is safe from SpEL injection
|
* A `ContextSource` that is safe from SpEL injection.
|
||||||
*/
|
*/
|
||||||
private class SafeContextSource extends DataFlow::ExprNode {
|
private class SafeContextSource extends DataFlow::ExprNode {
|
||||||
SafeContextSource() {
|
SafeContextSource() {
|
||||||
|
|||||||
Reference in New Issue
Block a user