[BP 7.1.2 MB-51909] - Incorrect query param encoding for curl binding and path param is not encoded

Description

  • While encoding URL query params, current curl binding implementation encodes the standard delimiters: '?', '&'.

  • The path param is not encoded. For example the following request,

Results in the following target URL:

Components

Affects versions

Fix versions

Labels

Environment

None

Link to Log File, atop/blg, CBCollectInfo, Core dump

None

Release Notes Description

None

Activity

Show:

CB robot October 7, 2022 at 8:54 AM

Build couchbase-server-7.2.0-5000 contains eventing-ee commit 95d3a8d with commit message:
: Fix URL encoding for CURL bindings

CB robot October 7, 2022 at 8:54 AM

Build couchbase-server-7.2.0-5000 contains eventing-ee commit 29638b1 with commit message:
: Fix path and query params in URL encoding for CURL bindings

CB robot October 7, 2022 at 8:53 AM

Build couchbase-server-7.2.0-5000 contains eventing commit e717aa6 with commit message:
: Fix URL encoding for CURL bindings

CB robot October 7, 2022 at 8:53 AM

Build couchbase-server-7.2.0-5000 contains eventing commit eecba7a with commit message:
: Fix path and query params URL encoding for CURL bindings

Sujay Gad July 8, 2022 at 8:35 AM

Curl tests are passing on 7.1.2-3352.

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

Details

Assignee

Reporter

Is this a Regression?

Unknown

CVSS/Severity

Medium

Story Points

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created May 30, 2022 at 4:30 AM
Updated October 7, 2022 at 8:54 AM
Resolved July 6, 2022 at 9:23 AM
Instabug