mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 06:22:50 +08:00
Updated CharactersDontMatch method.
At this point the comparer must ignore case sensitive.
This commit is contained in:
parent
be3a2fb6ed
commit
ac49022274
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user