Skip to content

Commit

Permalink
Always add ; separator in Info query
Browse files Browse the repository at this point in the history
Always append ; as separator between ID-part and criteria-part for info
query URL part.

Fixes #8
  • Loading branch information
Erik Westrup committed Nov 24, 2017
1 parent c740686 commit 50b1fca
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,9 @@ public String toUrlPart() {
if (ids != null && !ids.isEmpty()) {
sb.append(Joiner.on(",").join(ids));
} else {
sb.append("-;");
sb.append("-");
}
sb.append(';');
if (criteria != null) {
for (String c : criteria.keySet()) {
sb.append(c).append("=");
Expand Down

0 comments on commit 50b1fca

Please sign in to comment.