]> git.saurik.com Git - wxWidgets.git/commitdiff
No changes, just add a comment.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 19 May 2010 12:36:32 +0000 (12:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 19 May 2010 12:36:32 +0000 (12:36 +0000)
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

src/common/http.cpp

index 66257f4dd5777e2326568e0eaf4637fe08bae427..c4a6c05dce6bb59eb03d4f738f0d9a330a628bb0 100644 (file)
@@ -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;