aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-10-08 00:59:21 -0500
committerJacek Antonelli2008-10-08 00:59:26 -0500
commitf6276d08ec2d6a7ce1ac568c77771162bd8cece5 (patch)
treebf90071e73ded161624c5c1cd77fc1a57a79de4d /linden/indra/newview/llviewermessage.cpp
parentSecond Life viewer sources 1.21.4-RC (diff)
downloadmeta-impy-f6276d08ec2d6a7ce1ac568c77771162bd8cece5.zip
meta-impy-f6276d08ec2d6a7ce1ac568c77771162bd8cece5.tar.gz
meta-impy-f6276d08ec2d6a7ce1ac568c77771162bd8cece5.tar.bz2
meta-impy-f6276d08ec2d6a7ce1ac568c77771162bd8cece5.tar.xz
Second Life viewer sources 1.21.5-RC
Diffstat (limited to 'linden/indra/newview/llviewermessage.cpp')
-rw-r--r--linden/indra/newview/llviewermessage.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp
index f6cefce..0e39026 100644
--- a/linden/indra/newview/llviewermessage.cpp
+++ b/linden/indra/newview/llviewermessage.cpp
@@ -5159,6 +5159,11 @@ void process_initiate_download(LLMessageSystem* msg, void**)
5159 msg->getString("FileData", "SimFilename", sim_filename); 5159 msg->getString("FileData", "SimFilename", sim_filename);
5160 msg->getString("FileData", "ViewerFilename", viewer_filename); 5160 msg->getString("FileData", "ViewerFilename", viewer_filename);
5161 5161
5162 if (!gXferManager->validateFileForRequest(viewer_filename))
5163 {
5164 llwarns << "SECURITY: Unauthorized download to local file " << viewer_filename << llendl;
5165 return;
5166 }
5162 gXferManager->requestFile(viewer_filename, 5167 gXferManager->requestFile(viewer_filename,
5163 sim_filename, 5168 sim_filename,
5164 LL_PATH_NONE, 5169 LL_PATH_NONE,