mirror of
https://github.com/librespeed/speedtest.git
synced 2026-10-22 00:01:11 +00:00
fix: multi_agent.cwe-613 security vulnerability
Automated security fix generated by OrbisAI Security
This commit is contained in:
parent
aa84692df3
commit
2ffcba0bc9
1 changed files with 7 additions and 0 deletions
|
|
@ -1,4 +1,11 @@
|
|||
<?php
|
||||
session_set_cookie_params([
|
||||
'lifetime' => 0,
|
||||
'path' => '/',
|
||||
'secure' => !empty($_SERVER['HTTPS']),
|
||||
'httponly' => true,
|
||||
'samesite' => 'Strict',
|
||||
]);
|
||||
session_start();
|
||||
error_reporting(0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue