Fix WinHTTP GET parameter

An additional ? was send to the server, resulting in ignoring the first get parameter
This commit is contained in:
Tobias Taschner
2021-03-04 17:00:45 +01:00
parent 1c57699e92
commit a6c9fd2603

View File

@@ -330,7 +330,7 @@ void wxWebRequestWinHTTP::Start()
wxString objectName(urlComps.lpszUrlPath, urlComps.dwUrlPathLength);
if ( urlComps.dwExtraInfoLength )
objectName += "?" + wxString(urlComps.lpszExtraInfo, urlComps.dwExtraInfoLength);
objectName += wxString(urlComps.lpszExtraInfo, urlComps.dwExtraInfoLength);
// Open a request
static const wchar_t* acceptedTypes[] = { L"*/*", NULL };