mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Content-type header missing on GetMethod WebDav response, also html page output not ended correctly has missing tags
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5668 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -462,7 +462,7 @@ public class GetMethod extends WebDAVMethod
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
writer.write("</body></html>");
|
writer.write("</table></body></html>");
|
||||||
}
|
}
|
||||||
catch (Throwable e)
|
catch (Throwable e)
|
||||||
{
|
{
|
||||||
@@ -472,7 +472,7 @@ public class GetMethod extends WebDAVMethod
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
writer.write("<table><tr><td style='color:red'>");
|
writer.write("</table><table><tr><td style='color:red'>");
|
||||||
writer.write(I18NUtil.getMessage("webdav.err.dir"));
|
writer.write(I18NUtil.getMessage("webdav.err.dir"));
|
||||||
writer.write("</td></tr></table></body></html>");
|
writer.write("</td></tr></table></body></html>");
|
||||||
writer.flush();
|
writer.flush();
|
||||||
|
Reference in New Issue
Block a user