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

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

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

Merge pull request #772 from afs/jena1934-fuseki-robust

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)

Reply via email to