From 24863bd7e5789f767852b316a80916a4d99cbe8e Mon Sep 17 00:00:00 2001 From: Evan Phoenix Date: Tue, 20 Jan 2015 10:38:09 -0800 Subject: [PATCH] Avoid the deprecated --- lib/puma/binder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puma/binder.rb b/lib/puma/binder.rb index 4782e6d4..11911606 100644 --- a/lib/puma/binder.rb +++ b/lib/puma/binder.rb @@ -98,7 +98,7 @@ module Puma @listeners << [str, io] when "unix" - path = URI.unescape "#{uri.host}#{uri.path}" + path = "#{uri.host}#{uri.path}".gsub("%20", " ") if fd = @inherited_fds.delete(str) logger.log "* Inherited #{str}"