Closed
Bug 573198
Opened 15 years ago
Closed 15 years ago
Invalid country codes yield an Internal Server Error
Categories
(Input :: General, defect)
Input
General
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: kbrosnan, Assigned: wenzel)
Details
1. open about:config
2. set general.useragent.locale; zz
Result after submitting Input.
Internal Server Error
An unhandled error occurred in the application. The error has been logged and an administrator was notified. We apologize for the inconvenience!
Please start over on the dashboard.
If you have additional information how to reproduce this problem, please file a bug. Thanks!
| Reporter | ||
Comment 1•15 years ago
|
||
Setting general.useragent.locale; "". That is blank. Also causes this issue.
| Assignee | ||
Comment 2•15 years ago
|
||
Good find. I am now sanitizing invalid or empty locales to '' and storing it as such.
http://github.com/fwenzel/reporter/commit/5a188aa
Only other alternative would be rejecting their feedback altogether, but I am assuming this case is extremely rare anyway.
Assignee: nobody → fwenzel
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 3•15 years ago
|
||
It seems odd to have a ":3" in the demographics box. Can we change this to "unknown" ?
Comment 4•15 years ago
|
||
Never mind, filed bug 573364 for the issue in comment #3
verified FIXED on this bug.
Status: RESOLVED → VERIFIED
Updated•14 years ago
|
Component: Input → General
Product: Webtools → Input
You need to log in
before you can comment on or make changes to this bug.
Description
•