mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
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:
parent
5757fb61d8
commit
82a85e8592
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue