Browse files

Skip svnindex.xsl files when installing plugins (closes #7070) [david…

…jrice]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 5757fb6 commit 82a85e8592be8040ee4aab071f9ae9cc8f19a44b @dhh dhh committed Sep 22, 2007
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/lib/commands/plugin.rb
View
1 railties/lib/commands/plugin.rb
@@ -884,6 +884,7 @@ def links(base_url, contents)
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

0 comments on commit 82a85e8

Please sign in to comment.