Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions public_html/lists/admin/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
}

if (!empty($_GET['delete'])) {
verifyCsrfGetToken();
$delete = sprintf('%d', $_GET['delete']);
// delete the index in delete
echo s('Deleting')." $delete ..\n";
Expand Down
1 change: 1 addition & 0 deletions public_html/lists/admin/admins.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
echo '<div class="pull-right fright">'.PageLinkActionButton('admin', s('Add new admin'), "start=$start".$remember_find).'</div><div class="clearfix"></div>';

if (isset($_GET['delete']) && $_GET['delete']) {
verifyCsrfGetToken();
// delete the index in delete
if ($_GET['delete'] == $_SESSION['logindetails']['id']) {
echo s('You cannot delete yourself')."\n";
Expand Down
1 change: 1 addition & 0 deletions public_html/lists/admin/bouncerule.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
}

if (isset($_GET['action']) && $_GET['action'] == 'next') {
verifyCsrfGetToken();
if (isset($_GET['del'])) {
Sql_Query(sprintf('delete from %s where id = %d', $GLOBALS['tables']['bounceregex'], $_GET['del']));
} elseif (isset($_GET['activate'])) {
Expand Down
1 change: 1 addition & 0 deletions public_html/lists/admin/bouncerules.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
}

if (isset($_GET['del']) && $_GET['del']) {
verifyCsrfGetToken();
Sql_Query(sprintf('delete from %s where id = %d', $GLOBALS['tables']['bounceregex'], $_GET['del']));
Redirect('bouncerules'.$url);
}
Expand Down
Loading