mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-10 07:03:12 -05:00
added encoded for defense
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
confirmDeleteButton.addEventListener('click', function() {
|
||||
if (currentServiceId) {
|
||||
var orgId = window.location.pathname.split('/')[2];
|
||||
deleteForm.action = '/organizations/' + orgId + '?action=delete-service&service_id=' + currentServiceId;
|
||||
deleteForm.action = '/organizations/' + encodeURIComponent(orgId) + '?action=delete-service&service_id=' + encodeURIComponent(currentServiceId);
|
||||
|
||||
deleteForm.submit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user