You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by se...@apache.org on 2012/07/22 10:56:01 UTC
svn commit: r1364238 -
/incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/servlet/outputhandler/DownloadHandler.java
Author: sebawagner
Date: Sun Jul 22 08:56:00 2012
New Revision: 1364238
URL: http://svn.apache.org/viewvc?rev=1364238&view=rev
Log:
Fixes OPENMEETINGS-362 Download of profile images broken
Modified:
incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/servlet/outputhandler/DownloadHandler.java
Modified: incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/servlet/outputhandler/DownloadHandler.java
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/servlet/outputhandler/DownloadHandler.java?rev=1364238&r1=1364237&r2=1364238&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/servlet/outputhandler/DownloadHandler.java (original)
+++ incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/servlet/outputhandler/DownloadHandler.java Sun Jul 22 08:56:00 2012
@@ -227,7 +227,7 @@ public class DownloadHandler extends Htt
if (!full_path.exists() || !full_path.canRead()) {
if (!full_path.canRead()) {
- log.debug("LOG DownloadHandler: The request file is not readable");
+ log.debug("LOG DownloadHandler: The request file is not readable ");
} else {
log.debug("LOG DownloadHandler: The request file does not exist / has already been deleted");
}
@@ -254,7 +254,7 @@ public class DownloadHandler extends Htt
} else {
requestedFile = DownloadHandler.defaultImageName;
}
- full_path = new File(OmFileHelper.getDefaultDir(), DownloadHandler.defaultSWFName);
+ full_path = new File(OmFileHelper.getDefaultDir(), requestedFile);
}
log.debug("full_path: " + full_path);