Skip to content

Commit

Permalink
increment pck version
Browse files Browse the repository at this point in the history
  • Loading branch information
cristipufu committed Mar 12, 2022
1 parent 91f8c3f commit 5c52077
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/stefanprodan/AspNetCoreRateLimit</RepositoryUrl>
<LangVersion>9</LangVersion>
<Version>1.0.0</Version>
<Version>1.0.1</Version>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>../../sgKey.snk</AssemblyOriginatorKeyFile>
<DelaySign>false</DelaySign>
Expand Down
2 changes: 1 addition & 1 deletion src/AspNetCoreRateLimit/AspNetCoreRateLimit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/stefanprodan/AspNetCoreRateLimit</RepositoryUrl>
<LangVersion>9</LangVersion>
<Version>4.0.1</Version>
<Version>4.0.2</Version>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>../../sgKey.snk</AssemblyOriginatorKeyFile>
<DelaySign>false</DelaySign>
Expand Down
2 changes: 1 addition & 1 deletion src/AspNetCoreRateLimit/Core/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static bool IsRegexMatch(this string source, string value)
}
// if the regex is e.g. /api/values/ the path should be an exact match
// if all paths below this should be included the regex should be /api/values/*
if (value[value.Length - 1] != '$')
if (value[^1] != '$')
{
value += '$';
}
Expand Down

0 comments on commit 5c52077

Please sign in to comment.