File tree Expand file tree Collapse file tree
functions/src/main/java/org/apache/jmeter/functions Expand file tree Collapse file tree Original file line number Diff line number Diff line change 653653 <sha256 value =" 628df30148acd3c491cfcb6b73c7ae4b5989e5526ab13a2f428dea5d4ad10d7a" origin =" Generated by Gradle" />
654654 </artifact >
655655 </component >
656+ <component group =" org.apache.commons" name =" commons-parent" version =" 81" >
657+ <artifact name =" commons-parent-81.pom" >
658+ <sha256 value =" 348d4e7c131be6114c854a719ce7a44307a7c39bd366084977b24fd29ad0edb4" origin =" Generated by Gradle" />
659+ </artifact >
660+ </component >
656661 <component group =" org.checkerframework" name =" checkerframework-gradle-plugin" version =" 0.6.37" >
657662 <artifact name =" checkerframework-gradle-plugin-0.6.37.jar" >
658663 <sha256 value =" f6c3f7c2d2fd68cead661b5b3a4ee3b27a337165c0f9634876d42aeb9e67bf32" origin =" Generated by Gradle" reason =" Artifact is not signed" />
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ dependencies {
9191 api(" org.apache-extras.beanshell:bsh:2.0b6" )
9292 api(" org.apache.commons:commons-collections4:4.5.0" )
9393 api(" org.apache.commons:commons-dbcp2:2.9.0" )
94- api(" org.apache.commons:commons-jexl3:3.2.1 " )
94+ api(" org.apache.commons:commons-jexl3:3.5.0 " )
9595 api(" org.apache.commons:commons-jexl:2.1.1" )
9696 api(" org.apache.commons:commons-lang3:3.19.0" ) {
9797 because(" User might still rely on commons-lang3" )
Original file line number Diff line number Diff line change 3030211301 , commons-dbcp2-2.9.0.jar
3131563971 , commons-io-2.20.0.jar
3232267634 , commons-jexl-2.1.1.jar
33- 462124 , commons-jexl3-3.2.1 .jar
33+ 558963 , commons-jexl3-3.5.0 .jar
3434924068 , commons-jvm-4.7.3.jar
3535709075 , commons-lang3-3.19.0.jar
363673737 , commons-logging-1.3.5.jar
Original file line number Diff line number Diff line change 2626import org .apache .commons .jexl3 .JexlEngine ;
2727import org .apache .commons .jexl3 .JexlScript ;
2828import org .apache .commons .jexl3 .MapContext ;
29+ import org .apache .commons .jexl3 .introspection .JexlPermissions ;
2930import org .apache .jmeter .engine .util .CompoundVariable ;
3031import org .apache .jmeter .samplers .SampleResult ;
3132import org .apache .jmeter .samplers .Sampler ;
@@ -116,6 +117,8 @@ private static JexlEngine createJexlEngine() {
116117 .cache (512 )
117118 .silent (true )
118119 .strict (true )
120+ // TODO: allow customization for the permissions
121+ .permissions (JexlPermissions .UNRESTRICTED )
119122 // debug is true by default an impact negatively performances
120123 // by a factory of 10
121124 // Use JexlInfo if necessary
You can’t perform that action at this time.
0 commit comments