diff -r a6de16e6a3a3 -r eefb64f74a3f src/js/utils.js --- a/src/js/utils.js Fri Apr 06 17:15:48 2012 +0200 +++ b/src/js/utils.js Fri Apr 06 19:00:00 2012 +0200 @@ -182,10 +182,7 @@ /** issue a call to an url shortener and return the shortened url */ IriSP.shorten_url = function(url) { - if (IriSP.config.shortener.hasOwnProperty("shortening_function")) - return IriSP.config.shortener.shortening_function(url); - - return url; + return encodeURIComponent(url); };