diff --git a/lib/launcher.js b/lib/launcher.js index be15dcf56..56292e1bf 100644 --- a/lib/launcher.js +++ b/lib/launcher.js @@ -43,6 +43,7 @@ var Launcher = function (server, emitter, injector) { this.launchSingle = function (protocol, hostname, port, urlRoot, upstreamProxy, processKillTimeout) { var self = this return function (name) { + name = (name + '').trim(); if (upstreamProxy) { protocol = upstreamProxy.protocol hostname = upstreamProxy.hostname