chungote / pyramus

Automatically exported from code.google.com/p/pyramus
0 stars 0 forks source link

Strange characters in error dialogs #85

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Navigate to login page
2. Enter incorrect credentials
3. Click "log in"

What is the expected output? What do you see instead?
An error dialog is shown, as expected, but non-ASCII characters
are shown incorrectly (looks like UTF-8 interpreted as Latin-1,
converted back to UTF-8).

FIX:
The request for error page contained an URL with UTF-8 encoding.
The HTTP spec dictates that URLs should be encoded as Latin-1,
where applicable. I escaped the error message as Latin-1
before including it in the URL.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by ilmo.e...@otavanopisto.fi on 11 Jul 2012 at 8:30

GoogleCodeExporter commented 8 years ago
This problem arose when using Google Chrome.

Original comment by ilmo.e...@otavanopisto.fi on 11 Jul 2012 at 8:31

GoogleCodeExporter commented 8 years ago

Original comment by antti.le...@otavanopisto.fi on 6 Sep 2012 at 10:21