svenfuchs/routing-filter — pull request #40 by debreczeni (2012-08-03 11:00:39+00:00)
Title: Regex.escape Mime.EXTENSION_LOOKUP.keys

Prevent all pages breaking when weird mime extensions gets into Mime.EXTENSION_LOOKUP
Fixes:

in routing_filter/filters/extension.rb: 67:in `mime_extension?'
RegexpError: unmatched close parenthesis: /\.all|text|txt|html|xhtml|js|css|ics|csv|xml|rss|atom|yaml|multipart_form|url_encoded_form|json|aspx|htmlbefore|html)|htm|html+++++++++++++++++++Result:+chosen+nickname+"wyduxxgs";+success+(from+first+page);(\?|$)/`

Will submit an issue to Rails 2.3.14 as of how these weird Mime type extensions could sneak into Mime.EXTENSION_LOOKUP