summaryrefslogtreecommitdiff
path: root/launch_here.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-14 22:22:55 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-14 22:22:55 +0200
commit9996da20c88d45c34b8f1267b23b83ae1e1bbea3 (patch)
tree8c9b1b2296a02de17ff91a7ec535c0dc5b392f6d /launch_here.rb
parent39fa281fa05a8b3c1e56954c5db4dcabcc1b6d8e (diff)
utils: don't hang when getting first par with nonexistant uri-fragment
When an URL is passed which has a uri-fragment referring to a nonexisting named ref, the bot should not hang with 100% CPU usage while trying to match a horribly designed regular expression. Fix by using a much simpler regexp and post-match.
Diffstat (limited to 'launch_here.rb')
0 files changed, 0 insertions, 0 deletions