Fix WinHTTP GET parameter
An additional ? was send to the server, resulting in ignoring the first get parameter
This commit is contained in:
@@ -330,7 +330,7 @@ void wxWebRequestWinHTTP::Start()
|
|||||||
|
|
||||||
wxString objectName(urlComps.lpszUrlPath, urlComps.dwUrlPathLength);
|
wxString objectName(urlComps.lpszUrlPath, urlComps.dwUrlPathLength);
|
||||||
if ( urlComps.dwExtraInfoLength )
|
if ( urlComps.dwExtraInfoLength )
|
||||||
objectName += "?" + wxString(urlComps.lpszExtraInfo, urlComps.dwExtraInfoLength);
|
objectName += wxString(urlComps.lpszExtraInfo, urlComps.dwExtraInfoLength);
|
||||||
|
|
||||||
// Open a request
|
// Open a request
|
||||||
static const wchar_t* acceptedTypes[] = { L"*/*", NULL };
|
static const wchar_t* acceptedTypes[] = { L"*/*", NULL };
|
||||||
|
Reference in New Issue
Block a user