Recent change from escape/unescape to encodeURI/decodeURI should have been to encodeURIComponent/decodeURIComponent