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 da7424f commit f1c91e4Copy full SHA for f1c91e4
lib/datadog/appsec/api_security/route_extractor.rb
@@ -62,7 +62,6 @@ def self.route_pattern(request)
62
.recognize(request) { |route, _| break route.path.spec.to_s }
63
64
# NOTE: If rails is unable to recognize request it returns empty Array
65
- # We want to return nil in that case to skip this request in the Sampler
66
pattern = nil if pattern&.empty?
67
68
# NOTE: If rails can't recognize the request, we are going to fallback
0 commit comments