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?

##########
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:
       OK, forgot it, i found the answer: 
https://serverfault.com/questions/672984/is-the-hostname-part-of-https-urls-truly-case-insensitive




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to