URLdecode the base64 part of the key

This commit is contained in:
Francisco Blas (klondike) Izquierdo Riera 2015-02-07 18:34:25 +01:00
parent b22423e2d5
commit 1bbaa5ba22
3 changed files with 14 additions and 0 deletions

1
util.h
View file

@ -49,6 +49,7 @@ namespace util
std::string httpRequest(const std::string& address);
void MergeChunkedResponse (std::istream& response, std::ostream& merged);
int httpRequestViaI2pProxy(const std::string& address, std::string &content); // return http code
std::string urlDecode(const std::string& data);
struct url {
url(const std::string& url_s); // omitted copy, ==, accessors, ...