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 2021/01/22 02:15:50 UTC

[GitHub] [apisix] tokers commented on a change in pull request #3377: fix: ignore the case of configured host

tokers commented on a change in pull request #3377:
URL: https://github.com/apache/apisix/pull/3377#discussion_r561877898



##########
File path: apisix/router.lua
##########
@@ -32,6 +33,14 @@ local function filter(route)
         return
     end
 
+    if route.value.host then
+        route.value.host = str_lower(route.value.host)

Review comment:
       Does this conform the standard?




----------------------------------------------------------------
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.

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