Merge pull request #97 from juancash/case-sensitive-routing-fix

Updated CharactersDontMatch method
This commit is contained in:
Tom Pallister 2017-06-10 14:31:23 +01:00 committed by GitHub
commit c8564d81e1

View File

@ -70,7 +70,7 @@ namespace Ocelot.DownstreamRouteFinder.UrlMatcher
private bool CharactersDontMatch(char characterOne, char characterTwo) private bool CharactersDontMatch(char characterOne, char characterTwo)
{ {
return characterOne != characterTwo; return char.ToLower(characterOne) != char.ToLower(characterTwo);
} }
private bool ContinueScanningUrl(int counterForUrl, int urlLength) private bool ContinueScanningUrl(int counterForUrl, int urlLength)