lib/libdolt/view/single_repository.rb in libdolt-0.33.3 vs lib/libdolt/view/single_repository.rb in libdolt-0.33.4
- old
+ new
@@ -18,10 +18,10 @@
module Dolt
module View
module SingleRepository
def repo_url(repository, url)
- url
+ URI.encode(url.force_encoding('ascii-8bit'))
end
def refs_url(repository)
"/refs"
end