diff --git a/radicale/web/internal_data/fn.js b/radicale/web/internal_data/fn.js index c297f9ac..af13ad0a 100644 --- a/radicale/web/internal_data/fn.js +++ b/radicale/web/internal_data/fn.js @@ -1,6 +1,7 @@ /** * This file is part of Radicale Server - Calendar Server * Copyright © 2017-2024 Unrud + * Copyright © 2023-2024 Matthew Hana * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -394,7 +395,7 @@ function create_edit_collection(user, password, collection, create, callback) { calendar_color = escape_xml(collection.color + (collection.color ? "ff" : "")); calendar_description = escape_xml(collection.description); resourcetype = ''; - calendar_source = collection.source; + calendar_source = escape_xml(collection.source); } else { calendar_color = escape_xml(collection.color + (collection.color ? "ff" : "")); calendar_description = escape_xml(collection.description);