Skip to content

Commit

Permalink
Merge pull request #331 from actiontech/issue-330
Browse files Browse the repository at this point in the history
fix:twice escape filter_by_business field
  • Loading branch information
LordofAvernus authored Nov 22, 2024
2 parents fffa2e4 + 984af17 commit a943dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/dms-common/dmsobject/db_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func ListDbServices(ctx context.Context, dmsAddr string, req dmsV1.ListDBService
query.Set("order_by", fmt.Sprintf("%v", req.OrderBy))
}
if req.FilterByBusiness != "" {
query.Set("filter_by_business", url.QueryEscape(req.FilterByBusiness))
query.Set("filter_by_business", req.FilterByBusiness)
}
if req.FilterByHost != "" {
query.Set("filter_by_host", req.FilterByHost)
Expand Down

0 comments on commit a943dbc

Please sign in to comment.