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

Fix description:
* Unescape before encoding the URL value