Page MenuHomePhabricator

Blazegraph federation call does not properly work with URLs containing parameters
Closed, ResolvedPublic

Description

Query like:

SELECT * WHERE {
  SERVICE <http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org> {
	SELECT * WHERE {
    ?x ?y ?z
  } LIMIT 10
}
  }

does not work because ConnectOptions.addQueryParams() tries to add second ? to the URL string which is certainly wrong.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 519272 had a related patch set uploaded (by Smalyshev; owner: Smalyshev):
[wikidata/query/blazegraph@master] Fix remote service URL handling to allow parameters

https://gerrit.wikimedia.org/r/519272

Change 519272 merged by Smalyshev:
[wikidata/query/blazegraph@master] Fix remote service URL handling to allow parameters

https://gerrit.wikimedia.org/r/519272

Smalyshev claimed this task.