-
Notifications
You must be signed in to change notification settings - Fork 853
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolves an issue where the path key is set to a different path if it… #629
base: master
Are you sure you want to change the base?
Conversation
… is duplicated in the URL path Resolves an issue where the path key is set to a different path if it is duplicated in the URL path ex > { '/product' : 'http://product-service/' '/example' : 'http://product-service/' } call url : http://example.com/example/path/product match route url : 'http://product-service/'
Thanks. |
another route key is use in url path test
added unit test |
Snyk has created this PR to upgrade @types/http-proxy from 1.17.5 to 1.17.6. See this package in npm: See this project in Snyk: https://app.snyk.io/org/lovelgw/project/8d01a776-ebaf-4878-bab0-56d838168105?utm_source=github&utm_medium=upgrade-pr
…7694f5ce398 [Snyk] Upgrade @types/http-proxy from 1.17.5 to 1.17.6
Snyk has created this PR to upgrade @types/http-proxy from 1.17.6 to 1.17.7. See this package in npm: See this project in Snyk: https://app.snyk.io/org/lovelgw/project/8d01a776-ebaf-4878-bab0-56d838168105?utm_source=github&utm_medium=upgrade-pr
Snyk has created this PR to upgrade is-glob from 4.0.1 to 4.0.2. See this package in npm: See this project in Snyk: https://app.snyk.io/org/lovelgw/project/8d01a776-ebaf-4878-bab0-56d838168105?utm_source=github&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade micromatch from 4.0.4 to 4.0.5. See this package in npm: See this project in Snyk: https://app.snyk.io/org/lovelgw/project/8d01a776-ebaf-4878-bab0-56d838168105?utm_source=github&utm_medium=referral&page=upgrade-pr
…64c7318ecb1 [Snyk] Upgrade @types/http-proxy from 1.17.6 to 1.17.7
…715bd491de3 [Snyk] Upgrade is-glob from 4.0.1 to 4.0.2
…3d4531d1d75 [Snyk] Upgrade micromatch from 4.0.4 to 4.0.5
… is duplicated in the URL path
Resolves an issue where the path key is set to a different path if it is duplicated in the URL path
ex >
{
'/product' : 'http://product-service/'
'/example' : 'http://example-service/'
}
call url : http://example.com/example/path/product
match route url : 'http://product-service/'
Motivation and Context
Found a problem as the route key was duplicated in the url path
How has this been tested?
Tested as a component currently under development
Types of changes
Checklist: