From 32d7efc55d5917a4f1f54ff2fa7abf1fc3deebe9 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Fri, 14 Dec 2012 09:17:30 -0600 Subject: [PATCH] fixed possible issue with share.js --- VERSION | 2 +- applications/welcome/static/js/share.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 85a650f2..4ac277c0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.3.0 (2012-12-14 08:24:13) rc2 +Version 2.3.0 (2012-12-14 09:16:41) rc2 diff --git a/applications/welcome/static/js/share.js b/applications/welcome/static/js/share.js index 5e9d2c26..3f2e8445 100644 --- a/applications/welcome/static/js/share.js +++ b/applications/welcome/static/js/share.js @@ -16,7 +16,7 @@ jQuery(function(){ return match && decodeURIComponent(match[1].replace(/\+/g, ' '))||default_value; } var path = params('static','social'); - var url = window.location.href; + var url = encodeURIComponent(window.location.href); var host = window.location.hostname; var title = escape(jQuery('title').text()); var twit = 'http://twitter.com/home?status='+title+'%20'+url;