You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building traces for Net::HTTP sentry does not escape the string passed to URI.parse resulting in URI::InvalidURIError being raised if non-ascii characters are present in the path.
When sentry tries to extract the request information, there should not be errors when the path contains non-ascii characters.
Actual Behavior
When sentry tries to extract the request information on Net::HTTP request traces, if the path contains non-ascii characters, the trace results in a URI::InvalidURIError.
Issue Description
When building traces for Net::HTTP sentry does not escape the string passed to
URI.parse
resulting inURI::InvalidURIError
being raised if non-ascii characters are present in the path.— https://github.com/getsentry/sentry-ruby/blob/master/sentry-ruby/lib/sentry/net/http.rb#L69
Reproduction Steps
While using sentry, use Net::HTTP to send a request to a URI using non-ascii characters.
Sentry has no additional configuration:
Expected Behavior
When sentry tries to extract the request information, there should not be errors when the path contains non-ascii characters.
Actual Behavior
When sentry tries to extract the request information on
Net::HTTP
request traces, if the path contains non-ascii characters, the trace results in aURI::InvalidURIError
.Ruby Version
2.7, 3.x
SDK Version
5.19.0
Integration and Its Version
Sentry Config
The text was updated successfully, but these errors were encountered: