-
Notifications
You must be signed in to change notification settings - Fork 111
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 qtranslate_core.php on line 183 #1202
Labels
core
Core functionalities, including the admin section
Comments
Looks like a special case, possibly setting a wrong referrer. The host is derived from the origin, which should always be set. Do you know more precisely how this happens? Can it be reproduced? |
Hi, no I dont know how to reproduce it. This was 100% some
bot/spambot/vulnerability scanner hacker request and not a regular request.
So I imagine its very unpredictable. Likely a custom curl request, not a
browser issued request.
…On Sun, Aug 7, 2022, 17:37 Herr Vigg ***@***.***> wrote:
Looks like a special case, possibly setting a wrong referrer. The host is
derived from the origin, which should always be set.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer
Do you know more precisely how this happens? Can it be reproduced?
—
Reply to this email directly, view it on GitHub
<#1202 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTNGZS7IZRE7IJNKY4OAITVX7J3HANCNFSM53XP6DUQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
herrvigg
added a commit
that referenced
this issue
Aug 8, 2022
OK added a new check, it doesn't cost much and it will be more robust. |
Fix released in 3.12.1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, using latest release, some bot/vulnerability scanner/scraper request triggered this:
PHP Warning: Undefined array key "host" in /opt/bitnami/wordpress/wp-content/plugins/qtranslate-xt/qtranslate_core.php on line 183', referer: /gbook.html
PHP 8.0.x
access log:
143.92.32.144 - - [16/Jul/2022:00:41:15 +0000] "GET /gbook.html HTTP/2.0" 404 126879
thanks for checking
The text was updated successfully, but these errors were encountered: