HomeSoftware Heritage

api/graph: Handle query parameters that might be passed in graph_query

Description

api/graph: Handle query parameters that might be passed in graph_query

It is possible to pass query parameters in the graph_query URL argument
of the Web API graph endpoint if the ? character is quoted.

So add extra processing in the endpoint implementation to merge the
query parameters extracted from the graph_query value and those
coming from the django request.

The purpose is to avoid some query parameters to be silently ignored
when requesting the graph API.

Details