spacewander commented on issue #6330:
URL: https://github.com/apache/apisix/issues/6330#issuecomment-1041031105


   This is a small difference between the "host" in the proxy-mirror & upstream:
   The name "host" in proxy-mirror is incorrect, which is actually `uri`.
   
   Maybe we can depreciate the name (as a refactor for the very old code)?
   
   I have just reviewed the pattern, it seems that it can't handle IPv6 either. 
What about only validating the scheme part of the URI? (It's error-prone to 
match IPv6 with regex)


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


Reply via email to