[xwiki-contrib/application-releasenotes] 9677ea: RN-101: Escape the product and version values pass...
Branch: refs/heads/RN-101 Home: https://github.com/xwiki-contrib/application-releasenotes Commit: 9677eaeb771ffe371ce1aebce728832fee12e96a https://github.com/xwiki-contrib/application-releasenotes/commit/9677eaeb771... Author: Vincent Massol <[email protected]> Date: 2026-09-03 (Thu, 03 Sep 2026) Changed paths: M application-releasenotes-ui/src/main/resources/ReleaseNotes/Code/Change/ReleaseNotesChangesMacro.xml M application-releasenotes-ui/src/test/java/org/xwiki/releasenotes/ReleaseNotesChangesMacroPageTest.java M application-releasenotes-ui/src/test/java/org/xwiki/releasenotes/RenderingScriptServiceStub.java Log Message: ----------- RN-101: Escape the product and version values passed to the getChanges macro calls * Pass the product read from the release note xobject and the versions derived from the page name through $services.rendering.escape before placing them into the six getChanges calls the release note body builds, so a value carrying a double quote stays inside its macro parameter instead of closing it and having the rest of the value re-parsed as wiki syntax. The versions are escaped only once the milestone/RC/final parsing has built them, since that parsing works on the raw page name. * Add two page tests asserting that a product and a version space name carrying a quote and a macro reach the query as a single filter with their own value, and make the $services.rendering stand-in escape the way the platform does so the aggregation of a final release note is checked through it. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/application-releasenotes/settings/notificat...
participants (1)
-
XWiki Notifications