Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing exception during request_uri on non-http

  • Loading branch information...
commit 3c80a22f3ed3743643a577bcb0d949f9aee5f89c 1 parent 8c00ee7
Jason Kim authored committed
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
#
Please sign in to comment.
Something went wrong with that request. Please try again.