Fix encoding of special characters in URL

See bug in old bug tracker https://forge.kayako.com/issues/229