Skip to content

Commit

Permalink
The url that we need to tweak is url encoded
Browse files Browse the repository at this point in the history
  • Loading branch information
dehort committed Jan 22, 2024
1 parent 4cd96e1 commit 598fbb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/connectors/sources/impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func NewSourcesClientWithHttpRequestDoer(cfg *viper.Viper, doer HttpRequestDoer)
}

originalUrl := req.URL.String()
if strings.Contains(originalUrl, "filter=filter[") {
if strings.Contains(originalUrl, "filter=filter%5B") {
// Remove the extra filter parameter name
correctedUrl := strings.Replace(req.URL.String(), "filter=", "", -1)

Expand Down

0 comments on commit 598fbb0

Please sign in to comment.