From aa4992f52b167727e86ebed3cbecad185b913c02 Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Wed, 26 Jun 2019 11:44:35 -0700 Subject: [PATCH] Fix remote service URL handling to allow parameters Bug: T226603 Change-Id: Ic59f012097ac6ea6c23305e36dd70f961c2d1ad5 --- .../bigdata/rdf/sail/webapp/client/AbstractConnectOptions.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bigdata-client/src/main/java/com/bigdata/rdf/sail/webapp/client/AbstractConnectOptions.java b/bigdata-client/src/main/java/com/bigdata/rdf/sail/webapp/client/AbstractConnectOptions.java index 92e6b6b81e..c59bd2b541 100644 --- a/bigdata-client/src/main/java/com/bigdata/rdf/sail/webapp/client/AbstractConnectOptions.java +++ b/bigdata-client/src/main/java/com/bigdata/rdf/sail/webapp/client/AbstractConnectOptions.java @@ -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 e : requestParams.entrySet()) { final String name = e.getKey(); final String[] vals = e.getValue();