Am 10/19/2012 6:50 PM, schrieb Joshua Niehus:

On Sun, 14 Oct 2012 10:11:53 +0200, Sönke Ludwig wrote:

Is the URL the same host/port as the website itself (maybe localhost vs.
127.0.0.1)? Or maybe the Firefox error console can give a clue.

I can only say that the forums use $.post(), which according to the
docs calls $.ajax(), and there it works fine in Firefox.

The host/port match up. But i did notice that i get the same error on
the other browsers when I tack on "charset=UTF-8" to content-type which
Firefox does automatically:

Ah, I didn't fully realize that you send json, while I send a form...
The HTTP server erroneously checked for the content type to be exactly
"application/json", but the form detection was already correct and
separated the MIME type from charset etc.

A commit that supposedly fixes this has just been pushed to master (I
didn't actually test it yet).