Closed Bug 573198 Opened 15 years ago Closed 15 years ago

Invalid country codes yield an Internal Server Error

Categories

(Input :: General, defect)

defect
Not set
normal

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!
Setting general.useragent.locale; "". That is blank. Also causes this issue.
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
It seems odd to have a ":3" in the demographics box. Can we change this to "unknown" ?
Never mind, filed bug 573364 for the issue in comment #3 verified FIXED on this bug.
Status: RESOLVED → VERIFIED
Component: Input → General
Product: Webtools → Input
You need to log in before you can comment on or make changes to this bug.