mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 10:54:50 +08:00
Using case insensitive route values comparison
This commit is contained in:
@@ -91,7 +91,7 @@ namespace Orchard.Autoroute.Services {
|
||||
return false;
|
||||
}
|
||||
|
||||
return a.Keys.All(x => a[x] == b[x].ToString());
|
||||
return a.Keys.All(x => String.Equals(a[x], b[x].ToString(), StringComparison.OrdinalIgnoreCase));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user