Skip to content

Commit c2fa01a

Browse files
authored
Fix CGI imports for ruby 4.x (#2863)
1 parent e340018 commit c2fa01a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
### Bug Fixes
2626

2727
- Fix `MetricEvent` timestamp serialization to float ([#2862](https://github.com/getsentry/sentry-ruby/pull/2862))
28+
- Fix CGI imports for ruby 4.x ([#2863](https://github.com/getsentry/sentry-ruby/pull/2863))
2829

2930
## 6.3.1
3031

sentry-ruby/lib/sentry/baggage.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

3-
require "cgi"
3+
require "cgi/escape"
44

55
module Sentry
66
# A {https://www.w3.org/TR/baggage W3C Baggage Header} implementation.

sentry-ruby/lib/sentry/configuration.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# frozen_string_literal: true
22

3+
require "cgi/escape"
34
require "concurrent/utility/processor_counter"
45

56
require "sentry/utils/exception_cause_chain"

0 commit comments

Comments
 (0)