Branch: refs/heads/stable-18.4.x Home: https://github.com/xwiki/xwiki-platform Commit: 45f77c2f524635b5965c7694eaa1b6daedbb87f7 https://github.com/xwiki/xwiki-platform/commit/45f77c2f524635b5965c7694eaa1b... Author: Simon Urli <[email protected]> Date: 2026-10-05 (Mon, 05 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/ExportAction.java M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/web/ExportActionTest.java M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/exportresubmit.vm Log Message: ----------- XWIKI-23800: Propose a resubmit form for export * Set the status and the headers of a refused export request in ExportAction rather than in exportresubmit.vm. They describe the request the action refuses, not the markup: the template is also rendered on its own, and the escaping tests do exactly that, through the view action, where a 405 and an Allow header are wrong. That 405 is what broke org.xwiki.test.escaping.AllTests, whose framework tolerates 401, 404, 409 and 500 but fails on anything else before it even looks at the escaping. * Pin the status and both headers in ExportActionTest, since no test covered them while the template set them. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> (cherry picked from commit 6ae82277af0671c04e521c6ec8f2e428708895ec) To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications