diff --git a/src/common/http.cpp b/src/common/http.cpp index 66257f4dd5..c4a6c05dce 100644 --- a/src/common/http.cpp +++ b/src/common/http.cpp @@ -159,6 +159,8 @@ wxString wxHTTP::GetCookie(const wxString& cookie) const wxString wxHTTP::GenerateAuthString(const wxString& user, const wxString& pass) const { + // TODO: Use wxBase64Encode() now that we have it instead of reproducing it + static const char *base64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; wxString buf;