Fix encodeURI for transport Local