Branch: refs/heads/master
Home:
https://github.com/xwiki/xwiki-commons
Commit: 9bcd3605da72359d4c17e6356e5d2c2a43b748fb
https://github.com/xwiki/xwiki-commons/commit/9bcd3605da72359d4c17e6356e5d2…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2023-10-20 (Fri, 20 Oct 2023)
Changed paths:
A
xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/internal/util/DefaultVelocityDetector.java
A
xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/internal/util/VelocityDetector.java
M
xwiki-commons-core/xwiki-commons-velocity/src/main/resources/META-INF/components.txt
A
xwiki-commons-core/xwiki-commons-velocity/src/test/java/org/xwiki/velocity/internal/util/DefaultVelocityDetectorTest.java
Log Message:
-----------
XCOMMONS-2830: Introduce a utility component to check if a string contains Velocity
code
* Introduce an internal VelocityDetector role and a corresponding
default implementation including a test.