Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion changes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func ExampleChangesService_QueryChanges_withSymbols() {

opt := &gerrit.QueryChangeOptions{}
opt.Query = []string{
"change:249244+status:merged",
"change:249244 status:merged",
}
opt.Limit = 2
opt.AdditionalFields = []string{"LABELS"}
Expand Down
1 change: 0 additions & 1 deletion gerrit.go
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,6 @@ func CheckResponse(r *http.Response) error {
// Gerrit. Note, Gerrit itself does not escape these values when using the
// search box so we shouldn't escape them either.
var queryParameterReplacements = map[string]string{
"+": "GOGERRIT_URL_PLACEHOLDER_PLUS",
":": "GOGERRIT_URL_PLACEHOLDER_COLON"}

// addOptions adds the parameters in opt as URL query parameters to s.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On line 531 (below), the "+" character is still being mentioned.

Expand Down