提交 b8d375a7 编写于 作者: M mindless

Change st:header back to st:contentType (Jetty 5.x is old enough now we don't need

this workaround anymore; using st:contentType fixes a minor issue with SJSWS7 sending
an extra Content-type header which confuses IE7 and it doesn't use UTF-8 charset)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22707 71c3de6d-444a-0410-be80-ed276b4c234a
上级 4f8feff1
......@@ -52,8 +52,7 @@ THE SOFTWARE.
</st:attribute>
</st:documentation>
<st:header name="Expires" value="0" />
<!-- Use st:header here rather than st:contentType because Jetty 5.x appears to ignore the latter. -->
<st:header name="Content-Type" value="text/html;charset=UTF-8" />
<st:contentType value="text/html;charset=UTF-8" />
<!-- The path starts with a "/" character but does not end with a "/" character. -->
<j:set var="rootURL" value="${request.contextPath}" />
<j:new var="h" className="hudson.Functions" /><!-- instead of JSP functions -->
......@@ -253,4 +252,4 @@ THE SOFTWARE.
</j:forEach>
</body>
</html>
</j:jelly>
\ No newline at end of file
</j:jelly>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册