Skip to content

Commit 516df3f

Browse files
Fix validation of RUM Key
1 parent 25f35d2 commit 516df3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/StackifyLib/Config.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public static void LoadSettings()
125125
}
126126

127127
var rumKey = Get("Stackify.Rum_Key");
128-
if (Regex.IsMatch(rumKey, "^[A-Za-z0-9-]+$"))
128+
if (Regex.IsMatch(rumKey, "^[A-Za-z0-9_-]+$"))
129129
{
130130
RumKey = rumKey;
131131
}

0 commit comments

Comments
 (0)