Ticket #7963: plugin-http-fetcher.patch
| File plugin-http-fetcher.patch, 504 bytes (added by maiha, 2 years ago) |
|---|
-
railties/lib/commands/plugin.rb
old new 884 884 links = [] 885 885 contents.scan(/href\s*=\s*\"*[^\">]*/i) do |link| 886 886 link = link.sub(/href="/i, "") 887 next if link =~ /^http /i || link =~ /^\./887 next if link =~ /^http:\/\//i || link =~ /^\./ 888 888 links << File.join(base_url, link) 889 889 end 890 890 links