Skip to content

Commit

Permalink
Fix Samsung AllShare play
Browse files Browse the repository at this point in the history
  • Loading branch information
oeuillot committed Aug 19, 2014
1 parent b761e0b commit 2a99fdf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/upnpServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,11 @@ UpnpServer.prototype.processRequest = function(request, response, path,

response.sendDate = true;

// Problem with Samsung AllShare Play
if (path.match(/^\/\//)) {
path=path.substring(1);
}

logger.debug("Request='" + path + "' from='" +
request.connection.remoteAddress + "'");

Expand Down

0 comments on commit 2a99fdf

Please sign in to comment.