norman/friendly_id — Issue #240: FriendlyId::SlugGenerator#wildcard does not escape wildcard characters in the normalized slug
Author: erikogan
Created: 2012-02-24 18:55:47+00:00
State: open

While %’s probably aren’t common in slugs, it’s entirely possible that _’s might be found in a slug. (Especially if normalize_friendly_id is overridden to use underscores) This may cause incorrect collisions which could lead to a DB constraint violation.

I’ll try to write a failing test now, and then submit a pull request with the patch (which is really simple)