CSRF-Protector-PHP icon indicating copy to clipboard operation
CSRF-Protector-PHP copied to clipboard

PHP Warning: Undefined array key "HTTP_HOST"

Open xkpx64 opened this issue 3 years ago • 0 comments

123

csfrprotector.php -> getCurrentUrl() line 590 : return $request_scheme . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];

Tested on Apache/2.4.46 (Win64) PHP version: 8.0.3

xkpx64 avatar May 10 '21 07:05 xkpx64