Skip to content

Commit 2a99fdf

Browse files
committed
Fix Samsung AllShare play
1 parent b761e0b commit 2a99fdf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/upnpServer.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,11 @@ UpnpServer.prototype.processRequest = function(request, response, path,
202202

203203
response.sendDate = true;
204204

205+
// Problem with Samsung AllShare Play
206+
if (path.match(/^\/\//)) {
207+
path=path.substring(1);
208+
}
209+
205210
logger.debug("Request='" + path + "' from='" +
206211
request.connection.remoteAddress + "'");
207212

0 commit comments

Comments
 (0)