Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Submitting a cgi-bin POST form results in "Null charset name" exception jetty-distribution-9.4.21.v20190926

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
> jetty-users@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/jetty-users


-- 
Brian Reichert				<reichert@xxxxxxxxxxx>
BSD admin/developer at large	


Back to the top