In some cases proxy server might add more than one IP to the X-Forwareded-For header so the central IP validation will fail and might cause additional issues later when processing.
So I added an normalization step that makes sure only one the original (first) IP is returned.
In our case this works very well.
Thank you for your input. Actually we do it the same way in our other plugins. So thank you for your work once again. I will merge this request as soon as I get to this plugin.
Have a nice day!
In some cases proxy server might add more than one IP to the X-Forwareded-For header so the central IP validation will fail and might cause additional issues later when processing. So I added an normalization step that makes sure only one the original (first) IP is returned. In our case this works very well.