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

Fuseki: Bad form request is badly reported.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Jena 3.15.0
    • Jena 3.16.0
    • Fuseki
    • None

    Description

      curl defaults use of POST to an HTML form (Content-Type: application/x-www-form-urlencoded) which is easy to do:

      curl -XPOST --data-binary @SomeFile http://localhost:3030/ds/

      There are two sub-problems:

      1. "SomeFile" may be large and it overflows Jetty's form handling resulting in an internal error.
      2. If that is not triggered, the error handling checks for query string and the error message has null in it.

      Related to (1) is increase the buffer size. HTML forms aren't practical at large sizes but the default is 200k. HTML forms are valid for SPARQL Update (they are not ideal but they are legal) so a bit bigger would be helpful.

      Attachments

        Activity

          People

            andy Andy Seaborne
            andy Andy Seaborne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h