Closed Bug 1179486 Opened 9 years ago Closed 9 years ago

Validator throws when non-ASCII characters are used in pref names

Categories

(addons.mozilla.org Graveyard :: Add-on Validation, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kmag, Assigned: kmag)

Details

This is to fix http://sentry.mktmon.services.phx1.mozilla.com/mkt/addonsmozillaorg/group/16250/ t

STR:
1/ add `pref("extensions.foo-bar.éç", true);` to a .js file in defaults/preferences/
2/ run the validator, make sure you don't get a 500 (or the following exception if running from the commandline: UnicodeEncodeError: 'ascii' codec can't encode characters in position 19-20: ordinal not in range(128)
Fixed in https://github.com/mozilla/amo-validator/commit/f4b57966821685576e2db8d84a9e0b10a045a4d6
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.