[xwiki/xwiki-platform] d9f504: XWIKI-21424: Use CSRF token in the realtime HTML C...
Branch: refs/heads/stable-14.10.x Home: https://github.com/xwiki/xwiki-platform Commit: d9f5043da289ff106f08e23576746fd8baf98794 https://github.com/xwiki/xwiki-platform/commit/d9f5043da289ff106f08e23576746... Author: pjeanjean <[email protected]> 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)
participants (1)
-
XWiki Notifications