initlove commented on pull request #6255:
URL: https://github.com/apache/apisix/pull/6255#issuecomment-1031453765
I have a question, the way to fix this is by convert the 'real_ip_hdr'
reading from configs to lower case.
Is that mean, if the config file is already in lower case, this bug will not
affect old version, right?
-- we don't need to handle '_' to '-' as Nginx won't treat 'X_REAL_IP'
as 'X-Real-IP'
real_ip_hdr = str_lower(real_ip_hdr)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]