[4.0] 0715bd7 Update the XHTML in the default guru page.

Lasse Karstensen lkarsten at varnish-software.com
Mon Sep 22 16:38:23 CEST 2014


commit 0715bd73c63087076357ce24fb639fddbcbf3973
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Aug 13 17:15:58 2014 +0000

    Update the XHTML in the default guru page.
    
    Submitted by:	mattrobenolt
    Approved by:	mithradir

diff --git a/bin/varnishd/builtin.vcl b/bin/varnishd/builtin.vcl
index cfb2238..6ead64e 100644
--- a/bin/varnishd/builtin.vcl
+++ b/bin/varnishd/builtin.vcl
@@ -126,10 +126,7 @@ sub vcl_deliver {
 sub vcl_synth {
     set resp.http.Content-Type = "text/html; charset=utf-8";
     set resp.http.Retry-After = "5";
-    synthetic( {"
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+    synthetic( {"<!DOCTYPE html>
 <html>
   <head>
     <title>"} + resp.status + " " + resp.reason + {"</title>
@@ -173,10 +170,7 @@ sub vcl_backend_response {
 sub vcl_backend_error {
     set beresp.http.Content-Type = "text/html; charset=utf-8";
     set beresp.http.Retry-After = "5";
-    synthetic( {"
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+    synthetic( {"<!DOCTYPE html>
 <html>
   <head>
     <title>"} + beresp.status + " " + beresp.reason + {"</title>



More information about the varnish-commit mailing list