Skip to content

Commit

Permalink
security improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
mevdschee authored Aug 13, 2016
1 parent fd1b99d commit d439f0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api.php
Original file line number Diff line number Diff line change
Expand Up @@ -2053,6 +2053,7 @@ public function executeCommand() {
extract($this->settings);
$no_session = $authenticator && $secret;
if (!$no_session) {
ini_set('session.cookie_httponly', 1);
session_start();
}
if ($method==$verb && trim($path,'/')==$request) {
Expand Down

0 comments on commit d439f0f

Please sign in to comment.