You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/02/07 13:11:49 UTC

[GitHub] [apisix] initlove commented on pull request #6255: feat: release 2.10.4

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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org