[xwiki-notifications] [xwiki/xwiki-platform] 28af3e: XWIKI-22718, XWIKI-22691: Improve query validation