diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-11-03 19:27:29 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-11-03 19:27:29 +0900 |
| commit | 118626afc47e290be1ae490f5be26523233ccb61 (patch) | |
| tree | 300ee08346453c92b843aac41ab59ef40afdbb31 /src/HttpRequestCommand.cc | |
| parent | 0e55fdf594c21db7759eaa3ac2fddbd6d80422b4 (diff) | |
util::percentDecode now takes iterators as arguments.
Diffstat (limited to 'src/HttpRequestCommand.cc')
| -rw-r--r-- | src/HttpRequestCommand.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/HttpRequestCommand.cc b/src/HttpRequestCommand.cc index b9146760..74ba8e10 100644 --- a/src/HttpRequestCommand.cc +++ b/src/HttpRequestCommand.cc @@ -161,7 +161,8 @@ bool HttpRequestCommand::executeInternal() { getFileEntry()->setPath (util::createSafePath (getOption()->get(PREF_DIR), - util::percentDecode(getRequest()->getFile()))); + util::percentDecode(getRequest()->getFile().begin(), + getRequest()->getFile().end()))); } File ctrlfile(getFileEntry()->getPath()+ DefaultBtProgressInfoFile::getSuffix()); |
