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
No known key found for this signature in database
GPG key ID: AE6ECD71294F87FD

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 };