COMMONS-297 Fix the wrong URL encoding in UISpaceSwitcher.gtmpl

Fix description:
* Unescape before encoding the URL value
Merge commit '83eda7602ce767e4bf965d650ecdeebef2145ea9' into HEAD