diff options
Diffstat (limited to 'railties/lib/commands/plugin.rb')
-rw-r--r-- | railties/lib/commands/plugin.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/commands/plugin.rb b/railties/lib/commands/plugin.rb index 014b268635..ecef450ff4 100644 --- a/railties/lib/commands/plugin.rb +++ b/railties/lib/commands/plugin.rb @@ -887,7 +887,7 @@ class RecursiveHTTPFetcher contents.scan(/href\s*=\s*\"*[^\">]*/i) do |link| link = link.sub(/href="/i, "") next if link =~ /svnindex.xsl$/ - next if link =~ /^http/i || link =~ /^\./ + next if link =~ /^(\w*:|)\/\// || link =~ /^\./ links << File.join(base_url, link) end links |