XWIKI-9279: Filtering by file type does not work
* Escape only the filter values that come from the user (the file type filter value contains a wildcard character that shouldn't be escaped).
(cherry picked from commit 33a19cc89f9aa4c7a6a86eff0311145b0ae44ceb)