dnn-4004 search text needs encoded/decoded for use in the search service
added encoding/decoding to search term to ensure it can handle characters that would break javascript parameters