Branch: refs/heads/backport-3747-to-stable-16.10.x
Home:
https://github.com/xwiki/xwiki-platform
Commit: d3ba6ab7e9ba72cd02471ccb20578749d49e1be2
https://github.com/xwiki/xwiki-platform/commit/d3ba6ab7e9ba72cd02471ccb2057…
Author: Thomas Mortagne <thomas.mortagne(a)gmail.com>
Date: 2024-12-13 (Fri, 13 Dec 2024)
Changed paths:
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/store/hibernate/query/HqlQueryUtils.java
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/hibernate/query/HqlQueryExecutor.java
A
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/query/hql/internal/ConfigurableHQLCompleteStatementValidator.java
A
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/query/hql/internal/DefaultHQLStatementValidator.java
A
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/query/hql/internal/HQLCompleteStatementValidator.java
A
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/query/hql/internal/HQLStatementValidator.java
A
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/query/hql/internal/StandardHQLCompleteStatementValidator.java
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/META-INF/components.txt
M
xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/store/hibernate/query/HqlQueryExecutorTest.java
M
xwiki-platform-core/xwiki-platform-query/xwiki-platform-query-manager/src/main/java/org/xwiki/query/QueryException.java
M
xwiki-platform-tools/xwiki-platform-tool-configuration-resources/src/main/resources/xwiki.properties.vm
Log Message:
-----------
XWIKI-22726: Allow customizing the validation of HQL queries through configuration
(#3747)
* introduce an (internal) extensible validation system HQL queries
* introduce a new validator based on configurable regex of safe/unsafe regex patterns
(cherry picked from commit 620256c23459ca643ad15269d3979e15ccb9ca8a)
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-platform/settings/notifications