Skip to content

Commit 78d4a26

Browse files
committed
Fix CGI imports for ruby 4.x
1 parent e340018 commit 78d4a26

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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)