Permalink
Browse files

Fixing exception during request_uri on non-http

  • Loading branch information...
1 parent 8c00ee7 commit 3c80a22f3ed3743643a577bcb0d949f9aee5f89c @jasonkim jasonkim committed with Feb 3, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/anemone/core.rb
View
2 lib/anemone/core.rb
@@ -260,6 +260,8 @@ def visit_link?(link, from_page = nil)
#
def allowed(link)
@opts[:obey_robots_txt] ? @robots.allowed?(link) : true
+ rescue
+ false
end
#

0 comments on commit 3c80a22

Please sign in to comment.