Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
fix(analytics): Patch latent SQL injection bug (#14999)
Anurag Thakur36221e093b41
diff --git a/crates/analytics/src/active_payments/metrics/active_payments.rs b/crates/analytics/src/active_payments/metrics/active_payments.rsindex 567820f825..d78a482d4b 100644--- a/crates/analytics/src/active_payments/metrics/active_payments.rs+++ b/crates/analytics/src/active_payments/metrics/active_payments.rs@@ -49,10 +49,9 @@ where.switch()?;query_builder- .add_custom_filter_clause(+ .add_filter_in_range_clause("merchant_id",- format!("'{}','{}'", merchant_id.get_string_repr(), publishable_key),- FilterTypes::In,+ &[merchant_id.get_string_repr(), publishable_key],).switch()?;