Skip to content

Commit

Permalink
Fix remote service URL handling to allow parameters (#552)
Browse files Browse the repository at this point in the history
Bug: T226603
Change-Id: Ic59f012097ac6ea6c23305e36dd70f961c2d1ad5
  • Loading branch information
beebs-systap authored Feb 2, 2020
1 parent 2561077 commit 6b0c935
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,9 @@ static public void addQueryParams(final StringBuilder urlString,
if (requestParams == null)
return;
boolean first = true;
if (urlString.indexOf("?") >= 0) {
first = false;
}
for (Map.Entry<String, String[]> e : requestParams.entrySet()) {
final String name = e.getKey();
final String[] vals = e.getValue();
Expand Down

0 comments on commit 6b0c935

Please sign in to comment.