-
Improvement
-
Resolution: Fixed
-
Neutral
-
4.5.17, 5.2.3
-
-
Empty show more show less
-
Yes
The simple matching fails in the situation where one of the hosts to match is a subdomain. The matching should select the correct host in this situation as well.
For example, Host mappings are:
1. mysite.com
2. subdomain.mysite.com
Incoming request has host: subdomain.mysite.com
With the current matching strategy (simple check if requested host ends with mapping) both mappings would match, so order would be important.
We should ensure that if one mapping is a more accurate match, that it should be selected.
And for good measure, we should ensure that the configured mappings are evaluated in the order that they are in the configuration tree. (Though this is less important if the matching algorithm is improved.)
- is cloned by
-
MAGNOLIA-5735 CLONE - HostBasedVirtualURIMapping should select the best matching configured host regardless of order
- Closed
-
MAGNOLIA-5735 CLONE - HostBasedVirtualURIMapping should select the best matching configured host regardless of order
- Closed