diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2007-11-11 04:25:56 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2007-11-11 04:25:56 +0000 |
| commit | 4f59dc84bfa4be6e5fcea98b5f8775ddf7764dfa (patch) | |
| tree | f3849f574aa84350156abab8b00c8e713d2bf3b4 /src/Util.h | |
| parent | b5ad00980918777cb701420b151e9c4c81e43757 (diff) | |
2007-11-11 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
urlencode the given url inside Request::parseUrl(...)
* src/Request.{h, cc}
* src/Util.{h, cc}
* test/RequestTest.cc
Removed #!metalink3! notation support because it is deleted from
the metalink specification.
* src/Request.{h, cc}
* test/RequestTest.cc
Diffstat (limited to 'src/Util.h')
| -rw-r--r-- | src/Util.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -89,6 +89,8 @@ public: return urlencode((const unsigned char*)target.c_str(), target.size()); } + static bool shouldUrlencode(const char c); + static string urldecode(const string& target); static string torrentUrlencode(const unsigned char* target, int32_t len); |
