From: Vadim Zeitlin Date: Wed, 19 May 2010 12:36:32 +0000 (+0000) Subject: No changes, just add a comment. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e97cbf83982c29ff83799a37da5a85e2c4329f88 No changes, just add a comment. There is no need to reproduce wxBase64Encode() in wxHTTP code, should just use the existing function instead. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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;