aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-05-28 10:49:27 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-05-28 10:49:27 +0200
commit5e7b318e42bf7928f19af2ce023472273bca7608 (patch)
tree3f460231abff2c05a748c320889acb52b8b0d5ea
parentb14f2d0388601879b69a0d43a576b068ae412ea8 (diff)
downloadnextcloud-server-5e7b318e42bf7928f19af2ce023472273bca7608.tar.gz
nextcloud-server-5e7b318e42bf7928f19af2ce023472273bca7608.zip
add urlencode for caldav link
-rw-r--r--apps/calendar/js/calendar.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js
index e27fe49c54f..b5411d3fd95 100644
--- a/apps/calendar/js/calendar.js
+++ b/apps/calendar/js/calendar.js
@@ -207,6 +207,7 @@ Calendar={
},
showCalDAVUrl:function(username, calname){
$('#caldav_url').val(totalurl + '/' + username + '/' + calname);
+ $('#caldav_url').val(encodeURI($('#caldav_url').val()));
$('#caldav_url').show();
$("#caldav_url_close").show();
},