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 2020/07/02 14:45:00 UTC
[jira] [Created] (JENA-1934) Fuseki: Bad form request is badly
reported.
Andy Seaborne created JENA-1934:
-----------------------------------
Summary: Fuseki: Bad form request is badly reported.
Key: JENA-1934
URL: https://issues.apache.org/jira/browse/JENA-1934
Project: Apache Jena
Issue Type: Bug
Reporter: Andy Seaborne
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:
# "SomeFile" may be large and it overflows Jetty's form handling resulting in an internal error.
# 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)