diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-08-28 12:40:41 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-08-28 12:40:41 +0000 |
| commit | c096a3a55386d8b801196729a169162bec7f41e1 (patch) | |
| tree | 3160faca68ebe5d2f8fd5a8e6c98cdbd39e8fc66 /src/HttpResponseCommand.h | |
| parent | 531d456950afadc6222b7fa488cc54dc1fb06c81 (diff) | |
2006-08-28 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
To make filename URL-decoded:
* src/HttpResponseCommand.h: Updated doc.
* src/HttpResponseCommand.cc
(determinFilename): Made filename URL-decoded.
* src/FtpInitiateConnectionCommand.cc
(executeInternal): Made filename URL-decoded.
* src/Util.h (urldecode): New function.
* src/Util.cc (urldecode): New function.
Diffstat (limited to 'src/HttpResponseCommand.h')
| -rw-r--r-- | src/HttpResponseCommand.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/HttpResponseCommand.h b/src/HttpResponseCommand.h index 19a092c4..664fe026 100644 --- a/src/HttpResponseCommand.h +++ b/src/HttpResponseCommand.h @@ -33,6 +33,9 @@ private: bool handleOtherEncoding(const string& transferEncoding, const HttpHeader& headers); void createHttpDownloadCommand(const string& transferEncoding = ""); void retrieveCookie(const HttpHeader& headers); + /** + * Returned filename is URL-decoded. + */ string determinFilename(const HttpHeader& headers); HttpConnection* http; protected: |
