mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-04 21:40:23 -04: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