Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Warning: Undefined array key "HTTP_HOST" #146

Open
xkpx64 opened this issue May 10, 2021 · 0 comments
Open

PHP Warning: Undefined array key "HTTP_HOST" #146

xkpx64 opened this issue May 10, 2021 · 0 comments

Comments

@xkpx64
Copy link

xkpx64 commented May 10, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant