Special characters in user agent strings cause HTTP corruption

Description

Passing any special characters via DSN `client_string` parameter will cause HTTP headers to be incorrectly sized, and the generated request to be corrupted.  This appeared in Node.js v11, where the openSSL version contained a space and newline at the end.  I've included the specific client_string which caused the failure below:

client_string=couchnode%2F2.6.0%20(node%2F11.0.0%3B%20v8%2F7.0.276.28-node.5%3B%20ssl%2F1.1.0i%20%0A)

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

Sergey Auseyau March 29, 2019 at 12:55 PM

do you need this backported to 2.10.x?

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Fix versions

Story Points

Components

Reporter

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created November 3, 2018 at 12:47 AM
Updated April 24, 2020 at 11:46 PM
Resolved March 29, 2019 at 12:54 PM
Instabug