cardmagic / simple-rss

A simple, flexible, extensible, and liberal RSS and Atom reader for Ruby. It is designed to be backwards compatible with the standard RSS parser, but will never do RSS generation.
https://github.com/cardmagic/simple-rss
Other
225 stars 68 forks source link

100% cpu and hanging process on blank item tag #16

Open SamSaffron opened 10 years ago

SamSaffron commented 10 years ago

Repro:

require 'open-uri'
requre 'simple-rss'
SimpleRSS.item_tags << :""
SimpleRSS.parse(open('http://blog.bigdinosaur.org/atom.xml'))

Hangs on regex forever.