Skip to content

Commit

Permalink
Unset request signature
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvankooten committed Sep 6, 2015
1 parent 6a6e41a commit e700fb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/AJAX.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ public function ajax_action() {
}

$request_signature = $_GET['s'];
// unset `s` because we need to compare request signature
unset( $_GET['s'] );
$action_id = $_GET['action_id'];

// verify signature and referrer
Expand Down

0 comments on commit e700fb0

Please sign in to comment.