ECMS-6458 escape illegal character when searching