Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable variable assignment in SimpleEvaluationContext #30327

Closed
github-actions bot opened this issue Apr 13, 2023 · 1 comment
Closed

Disable variable assignment in SimpleEvaluationContext #30327

github-actions bot opened this issue Apr 13, 2023 · 1 comment
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: backport An issue that is a backport of another issue to a maintenance branch type: enhancement A general enhancement
Milestone

Comments

@github-actions
Copy link
Contributor

Backport of gh-30326

@github-actions github-actions bot added in: core Issues in core modules (aop, beans, core, context, expression) type: backport An issue that is a backport of another issue to a maintenance branch type: enhancement A general enhancement labels Apr 13, 2023
@github-actions github-actions bot added this to the 5.3.27 milestone Apr 13, 2023
bclozel pushed a commit that referenced this issue Apr 13, 2023
This commit introduces infrastructure to differentiate between
programmatic setting of a variable in an EvaluationContext versus the
assignment of a variable within a SpEL expression using the assignment
operator (=). In addition, this commit disables variable assignment
within expressions when using the SimpleEvaluationContext.

Closes gh-30327
@bclozel
Copy link
Member

bclozel commented Apr 13, 2023

Closed with 6bfb94a

@bclozel bclozel closed this as completed Apr 13, 2023
@sbrannen sbrannen self-assigned this Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: backport An issue that is a backport of another issue to a maintenance branch type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants