mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-23 00:32:50 +08:00
Merge pull request #97 from juancash/case-sensitive-routing-fix
Updated CharactersDontMatch method
This commit is contained in:
commit
c8564d81e1
@ -70,7 +70,7 @@ namespace Ocelot.DownstreamRouteFinder.UrlMatcher
|
||||
|
||||
private bool CharactersDontMatch(char characterOne, char characterTwo)
|
||||
{
|
||||
return characterOne != characterTwo;
|
||||
return char.ToLower(characterOne) != char.ToLower(characterTwo);
|
||||
}
|
||||
|
||||
private bool ContinueScanningUrl(int counterForUrl, int urlLength)
|
||||
|
Loading…
x
Reference in New Issue
Block a user