flavorjones/loofah — pull request #78 by jordoh (2014-10-30 21:54:47+00:00)
Title: Infinite regexp execution in prune scrubber

Here's a failing test for a CSS style that causes `scrub! :prune` to get stuck executing the regexp on line 70 of `lib/loofah/html5/scrub.rb`. For the test I've added a 60 second timeout - so it actually finishes - in the wild I've had processes stuck here for 10+ hours before I killed them.