Skip to content

Commit 25b4896

Browse files
committed
Change missing from last commit.
1 parent 94b62ba commit 25b4896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Serilog.Sinks.AzureTableStorage/Sinks/KeyGenerator/PropertiesKeyGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Serilog.Sinks.AzureTableStorage.Sinks.KeyGenerator
99
public class PropertiesKeyGenerator : DefaultKeyGenerator
1010
{
1111
// Valid RowKey name characters
12-
static readonly Regex _rowKeyNotAllowedMatch = new Regex(@"(\\|/|#|\?|\r\n?|\n)");
12+
static readonly Regex _rowKeyNotAllowedMatch = new Regex(@"(\\|/|#|\?|[\x00-\x1f]|[\x7f-\x9f])");
1313

1414
/// <summary>
1515
/// Generate a valid string for a table property key by removing invalid characters

0 commit comments

Comments
 (0)