Branch: refs/heads/stable-17.4.x
Home: https://github.com/xwiki/xwiki-commons
Commit: 9979c3cdf7a88d8cc14baee3ef0a4424587efd7b
https://github.com/xwiki/xwiki-commons/commit/9979c3cdf7a88d8cc14baee3ef0a4…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-09-03 (Wed, 03 Sep 2025)
Changed paths:
M xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/tools/EscapeTool.java
M xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/tools/JSONTool.java
M xwiki-commons-core/xwiki-commons-velocity/src/test/java/org/xwiki/velocity/tools/EscapeToolTest.java
M xwiki-commons-core/xwiki-commons-velocity/src/test/java/org/xwiki/velocity/tools/JSONToolTest.java
Log Message:
-----------
XCOMMONS-3410: $jsontool and $escapetool should escape < to allow safe usage in <script> tags (#1433)
* Escape < similar to { in JSONTool and EscapeTool.
* Apply the same escaping also to EscapeTool.json.
(cherry picked from commit 4824193a5ba3e720a0c5290b215368fa074f274d)
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-commons/settings/notifications
Branch: refs/heads/stable-16.10.x
Home: https://github.com/xwiki/xwiki-commons
Commit: b68d9406122f48bec394fbab53fb0a818de01976
https://github.com/xwiki/xwiki-commons/commit/b68d9406122f48bec394fbab53fb0…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-09-03 (Wed, 03 Sep 2025)
Changed paths:
M xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/tools/EscapeTool.java
M xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/tools/JSONTool.java
M xwiki-commons-core/xwiki-commons-velocity/src/test/java/org/xwiki/velocity/tools/EscapeToolTest.java
M xwiki-commons-core/xwiki-commons-velocity/src/test/java/org/xwiki/velocity/tools/JSONToolTest.java
Log Message:
-----------
XCOMMONS-3410: $jsontool and $escapetool should escape < to allow safe usage in <script> tags (#1433)
* Escape < similar to { in JSONTool and EscapeTool.
* Apply the same escaping also to EscapeTool.json.
(cherry picked from commit 4824193a5ba3e720a0c5290b215368fa074f274d)
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-commons/settings/notifications
Branch: refs/heads/backport-1433-to-stable-17.4.x
Home: https://github.com/xwiki/xwiki-commons
Commit: f9100c516b7c7b3c29de2f2a95b0c1c6bfa6600e
https://github.com/xwiki/xwiki-commons/commit/f9100c516b7c7b3c29de2f2a95b0c…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-09-03 (Wed, 03 Sep 2025)
Changed paths:
M xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/tools/EscapeTool.java
M xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/tools/JSONTool.java
M xwiki-commons-core/xwiki-commons-velocity/src/test/java/org/xwiki/velocity/tools/EscapeToolTest.java
M xwiki-commons-core/xwiki-commons-velocity/src/test/java/org/xwiki/velocity/tools/JSONToolTest.java
Log Message:
-----------
XCOMMONS-3410: $jsontool and $escapetool should escape < to allow safe usage in <script> tags (#1433)
* Escape < similar to { in JSONTool and EscapeTool.
* Apply the same escaping also to EscapeTool.json.
(cherry picked from commit 4824193a5ba3e720a0c5290b215368fa074f274d)
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-commons/settings/notifications
Branch: refs/heads/backport-1433-to-stable-16.10.x
Home: https://github.com/xwiki/xwiki-commons
Commit: 9b94b46475552f78bfc08b2fd73474d5c5a090c4
https://github.com/xwiki/xwiki-commons/commit/9b94b46475552f78bfc08b2fd7347…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-09-03 (Wed, 03 Sep 2025)
Changed paths:
M xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/tools/EscapeTool.java
M xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/tools/JSONTool.java
M xwiki-commons-core/xwiki-commons-velocity/src/test/java/org/xwiki/velocity/tools/EscapeToolTest.java
M xwiki-commons-core/xwiki-commons-velocity/src/test/java/org/xwiki/velocity/tools/JSONToolTest.java
Log Message:
-----------
XCOMMONS-3410: $jsontool and $escapetool should escape < to allow safe usage in <script> tags (#1433)
* Escape < similar to { in JSONTool and EscapeTool.
* Apply the same escaping also to EscapeTool.json.
(cherry picked from commit 4824193a5ba3e720a0c5290b215368fa074f274d)
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-commons/settings/notifications
Branch: refs/heads/master
Home: https://github.com/xwiki/xwiki-commons
Commit: 4824193a5ba3e720a0c5290b215368fa074f274d
https://github.com/xwiki/xwiki-commons/commit/4824193a5ba3e720a0c5290b21536…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2025-09-03 (Wed, 03 Sep 2025)
Changed paths:
M xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/tools/EscapeTool.java
M xwiki-commons-core/xwiki-commons-velocity/src/main/java/org/xwiki/velocity/tools/JSONTool.java
M xwiki-commons-core/xwiki-commons-velocity/src/test/java/org/xwiki/velocity/tools/EscapeToolTest.java
M xwiki-commons-core/xwiki-commons-velocity/src/test/java/org/xwiki/velocity/tools/JSONToolTest.java
Log Message:
-----------
XCOMMONS-3410: $jsontool and $escapetool should escape < to allow safe usage in <script> tags (#1433)
* Escape < similar to { in JSONTool and EscapeTool.
* Apply the same escaping also to EscapeTool.json.
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-commons/settings/notifications