Skip to content

Commit 89c2f27

Browse files
authored
[ASM] Correct copy / paste error (#3760)
1 parent 2c2b876 commit 89c2f27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tracer/src/Datadog.Trace/AppSec/SecuritySettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ internal class SecuritySettings
2121
public SecuritySettings(IConfigurationSource source)
2222
{
2323
BlockedHtmlTemplate = source?.GetString(ConfigurationKeys.AppSec.HtmlBlockedTemplate) ?? SecurityConstants.BlockedHtmlTemplate;
24-
BlockedJsonTemplate = source?.GetString(ConfigurationKeys.AppSec.HtmlBlockedTemplate) ?? SecurityConstants.BlockedJsonTemplate;
24+
BlockedJsonTemplate = source?.GetString(ConfigurationKeys.AppSec.JsonBlockedTemplate) ?? SecurityConstants.BlockedJsonTemplate;
2525
// both should default to false
2626
var enabledEnvVar = source?.GetBool(ConfigurationKeys.AppSec.Enabled);
2727
_enabled = enabledEnvVar ?? false;

0 commit comments

Comments
 (0)