Branch: refs/heads/stable-16.10.x
Home: https://github.com/xwiki/xwiki-platform
Commit: 0b26038f996d3c298661e4435257a94a5deb3b83
https://github.com/xwiki/xwiki-platform/commit/0b26038f996d3c298661e4435257…
Author: github-actions[bot] <41898282+github-actions[bot](a)users.noreply.github.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) (#3763)
* 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
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
Branch: refs/heads/master
Home: https://github.com/xwiki/xwiki-platform
Commit: 620256c23459ca643ad15269d3979e15ccb9ca8a
https://github.com/xwiki/xwiki-platform/commit/620256c23459ca643ad15269d397…
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
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
Branch: refs/heads/stable-15.10.x
Home: https://github.com/xwiki/xwiki-platform
Commit: 28af3e62d0c49d999a4a9998155eed852b88765f
https://github.com/xwiki/xwiki-platform/commit/28af3e62d0c49d999a4a9998155e…
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/store/hibernate/query/HqlQueryExecutor.java
M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/internal/store/hibernate/query/HqlQueryUtilsTest.java
M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/store/hibernate/query/HqlQueryExecutorTest.java
M xwiki-platform-core/xwiki-platform-rest/xwiki-platform-rest-server/src/main/java/org/xwiki/rest/internal/resources/search/AbstractDatabaseSearchSource.java
Log Message:
-----------
XWIKI-22718, XWIKI-22691: Improve query validation
(cherry picked from commit 5c11a874bd24a581f534d283186e209bbccd8113)
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
Branch: refs/heads/stable-16.4.x
Home: https://github.com/xwiki/xwiki-platform
Commit: 7de27b26d29358b9c8070d9df521dc9dac773a5b
https://github.com/xwiki/xwiki-platform/commit/7de27b26d29358b9c8070d9df521…
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/store/hibernate/query/HqlQueryExecutor.java
M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/internal/store/hibernate/query/HqlQueryUtilsTest.java
M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/store/hibernate/query/HqlQueryExecutorTest.java
M xwiki-platform-core/xwiki-platform-rest/xwiki-platform-rest-server/src/main/java/org/xwiki/rest/internal/resources/search/AbstractDatabaseSearchSource.java
Log Message:
-----------
XWIKI-22718, XWIKI-22691: Improve query validation
(cherry picked from commit 5c11a874bd24a581f534d283186e209bbccd8113)
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications