If a string is relatively long, drupal will run out of memory because of the huge permutations list. Would be better to catch such behavior.

Comments

Yuri created an issue.