Skip to content

Commit

Permalink
LEP-6287
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.liferay.com/repos/public/plugins/trunk@16789 05bdf26c-840f-0410-9ced-eb539d925f36
  • Loading branch information
sez11a committed Jun 12, 2008
1 parent 790aece commit fcb0015
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import com.liferay.portal.kernel.log.LogFactoryUtil;
import com.liferay.portal.kernel.servlet.HttpHeaders;
import com.liferay.portal.kernel.util.ContentTypes;
import com.liferay.util.servlet.UploadServletRequest;
import com.liferay.portal.util.PortalUtil;

import java.io.IOException;

Expand Down Expand Up @@ -57,7 +57,8 @@ protected void doPost(HttpServletRequest req, HttpServletResponse res)
if ((contentType != null) &&
(contentType.startsWith(ContentTypes.MULTIPART_FORM_DATA))) {

req = new UploadServletRequest(req);
req = PortalUtil.getUploadServletRequest(req);

}

try {
Expand Down

0 comments on commit fcb0015

Please sign in to comment.