Skip to content

Commit d439f0f

Browse files
authored
security improvement
1 parent fd1b99d commit d439f0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2053,6 +2053,7 @@ public function executeCommand() {
20532053
extract($this->settings);
20542054
$no_session = $authenticator && $secret;
20552055
if (!$no_session) {
2056+
ini_set('session.cookie_httponly', 1);
20562057
session_start();
20572058
}
20582059
if ($method==$verb && trim($path,'/')==$request) {

0 commit comments

Comments
 (0)