LIB001-972: Encoding search URL in redirect controller

Fixing problem with & in search terms.