Skip to content

Commit

Permalink
Fix #599
Browse files Browse the repository at this point in the history
  • Loading branch information
JimBobSquarePants committed Jun 7, 2017
1 parent 7ed64f8 commit a765174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ImageProcessor.Web/Extensions/StringExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public static bool IsValidVirtualPathName(this string expression)
public static string TrimStart(this string target, string trimString)
{
string result = target;
while (result.StartsWith(trimString))
while (result.StartsWith(trimString, StringComparison.InvariantCultureIgnoreCase))
{
result = result.Substring(trimString.Length);
}
Expand Down

0 comments on commit a765174

Please sign in to comment.