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