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