You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/07/08 11:50:00 UTC

[jira] [Commented] (JENA-1934) Fuseki: Bad form request is badly reported.

    [ https://issues.apache.org/jira/browse/JENA-1934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17153529#comment-17153529 ] 

ASF subversion and git services commented on JENA-1934:
-------------------------------------------------------

Commit f0f92f630561d4365fd3b25d6f06b8b4c0746ca2 in jena's branch refs/heads/master from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=f0f92f6 ]

JENA-1934: Better error handling for bad HTML forms


> 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
>          Components: Fuseki
>    Affects Versions: Jena 3.15.0
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>            Priority: Minor
>             Fix For: Jena 3.16.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)