summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2/ClientUtil.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2005-02-21 01:13:56 +0000
committerMichi Henning <michi@zeroc.com>2005-02-21 01:13:56 +0000
commit7076bbd87e954834a2f8a44c39d16b30ff04ab1c (patch)
treeceb11cc53a522e8d0d2200b154eb2a9f2069fd58 /cpp/src/IcePatch2/ClientUtil.cpp
parentadding Ice version numbers (diff)
downloadice-7076bbd87e954834a2f8a44c39d16b30ff04ab1c.tar.bz2
ice-7076bbd87e954834a2f8a44c39d16b30ff04ab1c.tar.xz
ice-7076bbd87e954834a2f8a44c39d16b30ff04ab1c.zip
Added check to server to disallow absolute paths and paths containing "..".
Diffstat (limited to 'cpp/src/IcePatch2/ClientUtil.cpp')
-rwxr-xr-xcpp/src/IcePatch2/ClientUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IcePatch2/ClientUtil.cpp b/cpp/src/IcePatch2/ClientUtil.cpp
index aab5dc7aa34..9916404b2bd 100755
--- a/cpp/src/IcePatch2/ClientUtil.cpp
+++ b/cpp/src/IcePatch2/ClientUtil.cpp
@@ -760,7 +760,7 @@ IcePatch2::Patcher::updateFilesInternal(const FileInfoSeq& files, const Decompre
}
catch(const FileAccessException& ex)
{
- throw "server error for `" + p->path + "':" + ex.reason;
+ throw "server error for `" + p->path + "': " + ex.reason;
}
if(bytes.empty())