You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.
Scenario:
If there is any sort of proxy or caching server in front of your actuall application server (e.g. varnish or nginx proxy/lb) $_SERVER['REMOTE_ADDRESS'] may alway contain 127.0.0.1
That issue is related to logging and the ipblocking Interceptor. And may result in your forms getting blocked.
Solution 1:
Introduce some sort of automatic detection e.g.:
check if REMOTE_ADDRESS points to 127.0.0.1 and check for the existens of e.g. $_SERVER['HTTP_X_REAL_IP'] (Might varydepending on the actuall infrastructure).
Solution 2:
Introduce some sort of configuration for that.
Note:
Keep in mind that \TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv is not aware of any key in e.g. $_SERVER.
The text was updated successfully, but these errors were encountered:
luzat
pushed a commit
to luzat/formhandler
that referenced
this issue
Nov 23, 2022
Scenario:
If there is any sort of proxy or caching server in front of your actuall application server (e.g. varnish or nginx proxy/lb) $_SERVER['REMOTE_ADDRESS'] may alway contain 127.0.0.1
That issue is related to logging and the ipblocking Interceptor. And may result in your forms getting blocked.
Solution 1:
Introduce some sort of automatic detection e.g.:
check if REMOTE_ADDRESS points to 127.0.0.1 and check for the existens of e.g. $_SERVER['HTTP_X_REAL_IP'] (Might varydepending on the actuall infrastructure).
Solution 2:
Introduce some sort of configuration for that.
Note:
Keep in mind that \TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv is not aware of any key in e.g. $_SERVER.
The text was updated successfully, but these errors were encountered: