1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Handle spaces in the path properly. Fixes #622

This commit is contained in:
Evan Phoenix 2015-01-20 10:19:52 -08:00
parent 5f0da667e8
commit db4cb8443d

View file

@ -98,7 +98,7 @@ module Puma
@listeners << [str, io]
when "unix"
path = "#{uri.host}#{uri.path}"
path = URI.unescape "#{uri.host}#{uri.path}"
if fd = @inherited_fds.delete(str)
logger.log "* Inherited #{str}"