mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 12:25:23 +00:00
encode the url of the remote calendar, to enable the passing of url parameters
This commit is contained in:
@@ -2902,8 +2902,8 @@ function onCalendarWebAddConfirm() {
|
||||
disposeDialog();
|
||||
var calendarUrl = this.value;
|
||||
if (calendarUrl) {
|
||||
var url = ApplicationBaseURL + "/addWebCalendar"
|
||||
var parameters = "url=" + calendarUrl;
|
||||
var url = ApplicationBaseURL + "/addWebCalendar";
|
||||
var parameters = "url=" + encodeURIComponent(calendarUrl);
|
||||
triggerAjaxRequest(url, addWebCalendarCallback, calendarUrl, parameters,
|
||||
{ "Content-type": "application/x-www-form-urlencoded" });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user