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
This commit is contained in:
David Heinemeier Hansson 2007-09-22 23:20:48 +00:00
parent 5757fb61d8
commit 82a85e8592
1 changed files with 1 additions and 0 deletions

View File

@ -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