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