Branch: refs/heads/stable-15.9.x
Home:
https://github.com/xwiki/xwiki-platform
Commit: 9f8cc88497418750b09ce9fde5d67d840f038fbf
https://github.com/xwiki/xwiki-platform/commit/9f8cc88497418750b09ce9fde5d6…
Author: pjeanjean <pierre.jeanjean(a)xwiki.com>
Date: 2023-10-24 (Tue, 24 Oct 2023)
Changed paths:
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-ui/pom.xml
M
xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-ui/src/main/resources/RTFrontend/ConvertHTML.xml
A
xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-ui/src/main/resources/XWiki/Realtime/Translations.xml
A
xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-ui/src/test/java/org/xwiki/realtime/ui/ConvertHTMLPageTest.java
M
xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-webjar/src/main/webjar/loader.js
Log Message:
-----------
XWIKI-21424: Use CSRF token in the realtime HTML Converter API
* Add a mandatory CSRF token to use RTFrontend.ConvertHTML
* Add a page test for RTFrontend.ConvertHTML that checks for the proper use of the CSRF
token
* Improve URL creation and add Translations.xml
(cherry picked from commit 4896712ee6483da623f131be2e618f1f2b79cb8d)