There is now a fix for this in the 9.4.x branch and will be in a 9.4.23
release.

For a workaround you should be able to use the RewriteHandler to default
the charset to utf-8.

On Thu, Oct 24, 2019 at 2:25 AM Brian Reichert <[email protected]> wrote:

> On Wed, Oct 23, 2019 at 04:51:57AM +0000, Gary Kopff wrote:
> > jetty-distribution-9.4.21.v20190926
> > jre1.8.0_231
> >
> > Create a HTML form using the POST method :-
> >
> > <form  name="frm" method=post action="
> http://your_company.com/your_company/cgi-bin/form.pl";
> accept-charset="utf-8">
> >   First name: <input type="text" name="fname"><br>
> >   Last name: <input type="text" name="lname"><br>
> >   <input type="submit" value="Submit">
> > </form>
> >
> > Submit the form.
> >
> > Jetty throws the following exception :-
> > HTTP ERROR 500 java.lang.IllegalArgumentException: Null charset name
> > URI:    /your_company/cgi-bin/form.pl
>
> Make sure you secretly don't have any wacky nulls or whitespace characters
> in that HTML form.
>
> > _______________________________________________
> > jetty-users mailing list
> > [email protected]
> > To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> > https://www.eclipse.org/mailman/listinfo/jetty-users
>
>
> --
> Brian Reichert                          <[email protected]>
> BSD admin/developer at large
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to