Updated CharactersDontMatch method.

At this point the comparer must ignore case sensitive.
This commit is contained in:
Juan Carlos Santana Herrera 2017-05-09 19:02:26 +01:00
parent be3a2fb6ed
commit ac49022274

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)