XWiki-9366 : XSS via FileUpload. Minor fixes