diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-22 23:20:48 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-22 23:20:48 +0000 |
commit | 82a85e8592be8040ee4aab071f9ae9cc8f19a44b (patch) | |
tree | 074aa9b2e9d166f028c2d195659303c22fc43425 /railties/lib | |
parent | 5757fb61d88908eb420b9a0d15197caee5cf00a2 (diff) | |
download | rails-82a85e8592be8040ee4aab071f9ae9cc8f19a44b.tar.gz rails-82a85e8592be8040ee4aab071f9ae9cc8f19a44b.tar.bz2 rails-82a85e8592be8040ee4aab071f9ae9cc8f19a44b.zip |
Skip svnindex.xsl files when installing plugins (closes #7070) [davidjrice]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/commands/plugin.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/commands/plugin.rb b/railties/lib/commands/plugin.rb index af23197549..196e159b0b 100644 --- a/railties/lib/commands/plugin.rb +++ b/railties/lib/commands/plugin.rb @@ -884,6 +884,7 @@ class RecursiveHTTPFetcher links = [] contents.scan(/href\s*=\s*\"*[^\">]*/i) do |link| link = link.sub(/href="/i, "") + next if link =~ /svnindex.xsl$/ next if link =~ /^http/i || link =~ /^\./ links << File.join(base_url, link) end |