#17517: Adding missing content-type.

--HG--
branch : 1.x
This commit is contained in:
Andre Rodrigues
2011-03-28 12:52:42 -07:00
parent 0afaf13b47
commit a942d6b6ea
2 changed files with 2 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Configuration Changing...</title>
</head>
<body>

View File

@@ -52,6 +52,7 @@ namespace Orchard.Environment {
httpContext.Response.Redirect(HttpContext.Current.Request.ToUrlString(), true /*endResponse*/);
}
else {
httpContext.Response.ContentType = "text/html";
httpContext.Response.WriteFile(RefreshHtmlPath);
httpContext.Response.End();
}