Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-2271

Fuseki UI: Uploading a triples file to a named graph is "Bad Request".

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 4.4.0
    • Jena 4.5.0
    • Fuseki
    • None

    Description

      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:

      http://localhost:3030/ds/data?graph=http:/example/graphname
      

      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.)

      Attachments

        Issue Links

          Activity

            People

              kinow Bruno P. Kinoshita
              andy Andy Seaborne
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: