From a350422004f6ffec16225bd393d0da5fcdd016f0 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 24 Mar 2013 09:37:25 -0700 Subject: [PATCH] Fix reporting parameters, oops. --- Core/Reporting.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Core/Reporting.cpp b/Core/Reporting.cpp index a64528c61e..bb9de2ac35 100644 --- a/Core/Reporting.cpp +++ b/Core/Reporting.cpp @@ -121,7 +121,7 @@ namespace Reporting if (http.Resolve(ServerHostname(), ServerPort())) { http.Connect(); - http.POST("/report/message", data, "application/x-www-urlencoded", output); + http.POST("/report/message", data, "application/x-www-form-urlencoded", output); http.Disconnect(); result = true; } @@ -138,10 +138,11 @@ namespace Reporting char temp[PARAM_BUFFER_SIZE]; // TODO: Need to escape these values, add more. - snprintf(temp, PARAM_BUFFER_SIZE - 1, "version=%s&game=%s_%s", + snprintf(temp, PARAM_BUFFER_SIZE - 1, "version=%s&game=%s_%s&game_title=%s", PPSSPP_GIT_VERSION, g_paramSFO.GetValueString("DISC_ID").c_str(), - g_paramSFO.GetValueString("DISC_VERSION").c_str()); + g_paramSFO.GetValueString("DISC_VERSION").c_str(), + g_paramSFO.GetValueString("TITLE").c_str()); std::string data; switch (payload.type)