encodeURI for template url properties