Locale error attempting to log in to Google Drive via GNOME Inbox

Cantor, Scott cantor.2 at osu.edu
Wed Jan 27 19:07:37 UTC 2021

Java considers that locale from a browser in an Accept-Language header to be illegal, and I assume Java is probably correct, but it doesn't much matter because our code is in Java and that's what we're going to depend on.

The problem is there's a bug in the IdP software that did not catch the exception Java is raising from the invalid string and is aborting the request instead of ignoring the invalid header. The bug is already patched for future release.

There's nothing that can be done in the meantime but fix the client, which should be done anyway if it's confirmed that the header is in fact syntactically wrong.

-- Scott

More information about the users mailing list