From f537588228036e64e363074986873bb6297ed510 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 11 May 2014 13:31:04 -0400 Subject: [PATCH] Don't use the devicename parameter when pairing anymore. It's not using since GFE 2.0.0 and it can cause problems if invalid characters get added to the URL --- moonlight-common/src/com/limelight/nvstream/http/NvHTTP.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/moonlight-common/src/com/limelight/nvstream/http/NvHTTP.java b/moonlight-common/src/com/limelight/nvstream/http/NvHTTP.java index 183b8a79..41a81d25 100644 --- a/moonlight-common/src/com/limelight/nvstream/http/NvHTTP.java +++ b/moonlight-common/src/com/limelight/nvstream/http/NvHTTP.java @@ -100,8 +100,7 @@ public class NvHTTP { } public int getSessionId() throws IOException, XmlPullParserException { - InputStream in = openHttpConnection(baseUrl + "/pair?uniqueid=" + uniqueId - + "&devicename=" + deviceName); + InputStream in = openHttpConnection(baseUrl + "/pair?uniqueid=" + uniqueId); String sessionId = getXmlString(in, "sessionid"); return Integer.parseInt(sessionId); }