Commit 539744f8 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[SourcesManager] Make searching for a source via URL case-insensitive

parent 3fe4b60b
......@@ -374,7 +374,8 @@ module Pod
# The URL of the source.
#
def source_with_url(url)
aggregate.sources.find { |s| s.url == url }
url = url.downcase
aggregate.sources.find { |s| s.url.downcase == url }
end
# Returns a suitable repository name for `url`.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment