mirror of
https://github.com/alibaba/higress.git
synced 2026-04-22 04:27:26 +08:00
wasm: strip port from host when match host (#626)
This commit is contained in:
@@ -387,6 +387,8 @@ class RouteRuleMatcher {
|
||||
return true;
|
||||
}
|
||||
|
||||
request_host = Wasm::Common::Http::stripPortFromHost(request_host);
|
||||
|
||||
for (const auto& host_match : rule.hosts) {
|
||||
const auto& host = host_match.second;
|
||||
switch (host_match.first) {
|
||||
|
||||
Reference in New Issue
Block a user