From afc7a25781c5ee490202dd3c5376c0e008108180 Mon Sep 17 00:00:00 2001 From: Colby Litnak Date: Wed, 31 Dec 2014 10:33:13 -0700 Subject: [PATCH] https://issues.jboss.org/browse/RAILO-2905 --- .../src/railo/runtime/net/http/MultiPartResponseUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railo-java/railo-core/src/railo/runtime/net/http/MultiPartResponseUtils.java b/railo-java/railo-core/src/railo/runtime/net/http/MultiPartResponseUtils.java index 7b92f5523c..7259b9f4d7 100644 --- a/railo-java/railo-core/src/railo/runtime/net/http/MultiPartResponseUtils.java +++ b/railo-java/railo-core/src/railo/runtime/net/http/MultiPartResponseUtils.java @@ -65,7 +65,7 @@ private static String extractBoundary(String contentTypeHeader, String defaultVa String[] subHeaderSections = ListUtil.listToStringArray(section,'='); String headerName = subHeaderSections[0].trim(); if (headerName.toLowerCase().equals("boundary")) { - return subHeaderSections[1]; + return subHeaderSections[1].replaceAll("^\"|\"$", ""); } }