Revision: 250
Author: gokturk.yuksek
Date: Mon Jan 21 07:35:18 2013
Log: Fix Issue 81 where Secret Library passwords were not being uri
encoded properly.
http://code.google.com/p/ardb/source/detail?r=250
Modified:
/trunk/wxARDB/src/DeckUpload.cpp
=======================================
--- /trunk/wxARDB/src/DeckUpload.cpp Mon Feb 1 11:38:33 2010
+++ /trunk/wxARDB/src/DeckUpload.cpp Mon Jan 21 07:35:18 2013
@@ -64,8 +64,8 @@
postBuffer += wxT("sl_deck_submit=1&");
postBuffer += wxT("sl_user_agent=ardb&");
postBuffer += wxT("sl_agent_version=2.9.0&");
- postBuffer += wxT("username=") + sUserName + wxT("&");
- postBuffer += wxT("password=") + sPassword + wxT("&");
+ postBuffer += wxT("username=") + UriEncode(sUserName) + wxT("&");
+ postBuffer += wxT("password=") + UriEncode(sPassword) + wxT("&");
postBuffer += wxT("title=") + UriEncode(sTitle) + wxT("&");
postBuffer += wxT("author=") + UriEncode(sAuthor) + wxT("&");
postBuffer += wxT("description=") + UriEncode(sDesc) + wxT("&");