James58899 says to Ow< [MSFW]
encodeURI(decodeURIComponent(url.parse(uri).href))