Use identify for query tool

Any way to sanitizse that before passing it on as filter?