You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Bruno P. Kinoshita (Jira)" <ji...@apache.org> on 2022/02/03 02:55:00 UTC
[jira] [Commented] (JENA-2271) Fuseki UI: Uploading a triples file to a named graph is "Bad Request".
[ https://issues.apache.org/jira/browse/JENA-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17486194#comment-17486194 ]
Bruno P. Kinoshita commented on JENA-2271:
------------------------------------------
I can try to reproduce over the next days and prepare a fix if it's an issue in the UI. I think I only tested with random/dummy graph names like default, test.
I think before jumping on suggesting changes/improvements for the UI, I will write some functional tests. These should work with and without the backend, and will cover things like file upload, graph creation, queries, etc.
> Fuseki UI: Uploading a triples file to a named graph is "Bad Request".
> ----------------------------------------------------------------------
>
> Key: JENA-2271
> URL: https://issues.apache.org/jira/browse/JENA-2271
> Project: Apache Jena
> Issue Type: Bug
> Components: Fuseki
> Affects Versions: Jena 4.4.0
> Reporter: Andy Seaborne
> Priority: Major
>
> On the "add data" tab, if the graph name is set to "http://example/graphname" in the UI, a file upload to the server returns "400 Bad request".
> Chrome dev tools show the POST as:
> {noformat}
> http://localhost:3030/ds/data?graph=http:/example/graphname
> {noformat}
> The request ends up as {{?graph=http:/example/graphname}} with one slash.
> Using three /// in the graph name also produces a single-slash {{{}graph={}}}.
> Using {{http:%2F/example/graphname}} does send the data successfully to the named graph.
> (This is not an encoding issue - the query string is right without encoding. "{{/}}" and "{{:}}" are valid in the query string of a URI.)
--
This message was sent by Atlassian Jira
(v8.20.1#820001)