File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ How can the Expression Language Help Me?
2222----------------------------------------
2323
2424The purpose of the component is to allow users to use expressions inside
25- configuration for more complex logic. For some examples , the Symfony Framework
26- uses expressions in security, for validation rules and in route matching.
25+ configuration for more complex logic. For example , the Symfony Framework uses
26+ expressions in security, for validation rules and in route matching.
2727
2828Besides using the component in the framework itself, the ExpressionLanguage
2929component is a perfect candidate for the foundation of a *business rule engine *.
@@ -43,9 +43,10 @@ way without using PHP and without introducing security problems:
4343 # Send an alert when
4444 product.stock < 15
4545
46- Expressions can be seen as a very restricted PHP sandbox and are immune to
47- external injections as you must explicitly declare which variables are available
48- in an expression.
46+ Expressions can be seen as a very restricted PHP sandbox and are less vulnerable
47+ to external injections because you must explicitly declare which variables are
48+ available in an expression (but you should still sanitize any data given by end
49+ users and passed to expressions).
4950
5051Usage
5152-----
You can’t perform that action at this time.
0 commit comments