mozilla/openbadges-badgekit — pull request #419 by christensenep (2014-05-21 15:08:52+00:00)
Title: Strip non-word characters from city branding config var

Fixes a bug with the branding config setup for cities that have slugs like los-angeles (since hyphens and most non-alphanumeric characters are not valid characters for a shell variable). Now special characters in the slug will be stripped before looking for a corresponding variable. (So los-angeles's branding variable becomes BRANDING_LOSANGELES)