mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-09-17 14:21:39 +00:00
MNT-24883 fixes as per test cases
This commit is contained in:
@@ -340,7 +340,7 @@ public class RemoteTransformerClient
|
|||||||
ContentType contentType = ContentType.create(sourceMimetype);
|
ContentType contentType = ContentType.create(sourceMimetype);
|
||||||
if (StringUtils.isEmpty(filename))
|
if (StringUtils.isEmpty(filename))
|
||||||
{
|
{
|
||||||
builder.addBinaryBody("file", contentStream, contentType, "tmp" + sourceExtension);
|
builder.addBinaryBody("file", contentStream, contentType, "tmp." + sourceExtension);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user