You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (Jira)" <ji...@apache.org> on 2022/02/02 14:27:00 UTC

[jira] [Created] (JENA-2271) Fuseki UI: Uploading a triples file to a named graph is "Bad Request".

Andy Seaborne created JENA-2271:
-----------------------------------

             Summary: 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


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 message was sent by Atlassian Jira
(v8.20.1#820001)