This is an automated email from the ASF dual-hosted git repository. kinow pushed a commit to branch GH-2767-fix-js-warnings in repository https://gitbox.apache.org/repos/asf/jena.git
commit 55eabedeecd94988bd84a2138c037b77c342c813 Author: Bruno P. Kinoshita <[email protected]> AuthorDate: Sat Oct 12 17:03:10 2024 +0200 GH-2767: Use qs instead of queryString (more users, focus on security - qs was coming via Express, query-string via zazuko, we used both) --- jena-fuseki2/jena-fuseki-ui/src/utils/query.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jena-fuseki2/jena-fuseki-ui/src/utils/query.js b/jena-fuseki2/jena-fuseki-ui/src/utils/query.js index edb841674f..68d22e5617 100644 --- a/jena-fuseki2/jena-fuseki-ui/src/utils/query.js +++ b/jena-fuseki2/jena-fuseki-ui/src/utils/query.js @@ -22,7 +22,7 @@ * instantiate a complete component or view. */ -import queryString from 'query-string' +import qs from 'qs' /** * Create a shareable link using the value of the SPARQL query in the @@ -49,6 +49,6 @@ export function createShareableLink (query, path) { path + '?' + // Same as YASGUI does, good idea to avoid security problems... - queryString.stringify({ query }) + qs.stringify({ query }) ) }
