mozilla / openbadges-badgekit

No Longer Maintained
https://badgekit.org
Mozilla Public License 2.0
123 stars 84 forks source link

Slug creation is naive and breaks pretty easily #473

Open cmcavoy opened 9 years ago

cmcavoy commented 9 years ago

The code that creates a human readable slug for criteria pages (here) isn't very good. It breaks in a bunch of cases, and could be a security issue. Example of a broken criteria page, https://badgekit.org/system/openbadges-badges/badge/badge-alliance-/-open-badges-advocate/criteria