We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c2b876 commit 89c2f27Copy full SHA for 89c2f27
tracer/src/Datadog.Trace/AppSec/SecuritySettings.cs
@@ -21,7 +21,7 @@ internal class SecuritySettings
21
public SecuritySettings(IConfigurationSource source)
22
{
23
BlockedHtmlTemplate = source?.GetString(ConfigurationKeys.AppSec.HtmlBlockedTemplate) ?? SecurityConstants.BlockedHtmlTemplate;
24
- BlockedJsonTemplate = source?.GetString(ConfigurationKeys.AppSec.HtmlBlockedTemplate) ?? SecurityConstants.BlockedJsonTemplate;
+ BlockedJsonTemplate = source?.GetString(ConfigurationKeys.AppSec.JsonBlockedTemplate) ?? SecurityConstants.BlockedJsonTemplate;
25
// both should default to false
26
var enabledEnvVar = source?.GetBool(ConfigurationKeys.AppSec.Enabled);
27
_enabled = enabledEnvVar ?? false;
0 commit comments