diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2015-01-01 14:21:07 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2015-01-01 14:21:07 +0000 |
commit | 5a4dc4bf51b7c1a3fb052c51d4c55cf608b58463 (patch) | |
tree | 7c7c9a55a88aced20bbd56127daa6f646bf08403 | |
parent | d81c2c00b1a5f9200c5d7a2f70bb7fdc7cfaaf6d (diff) |
Use the recommended HTML5 doctype in error pages.
OK validator.w3.org (This document was successfully checked as HTML5!)
-rw-r--r-- | usr.sbin/relayd/relay_http.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/relayd/relay_http.c b/usr.sbin/relayd/relay_http.c index 6622c34be64..e462034e457 100644 --- a/usr.sbin/relayd/relay_http.c +++ b/usr.sbin/relayd/relay_http.c @@ -1,4 +1,4 @@ -/* $OpenBSD: relay_http.c,v 1.37 2014/12/21 00:54:49 guenther Exp $ */ +/* $OpenBSD: relay_http.c,v 1.38 2015/01/01 14:21:06 reyk Exp $ */ /* * Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org> @@ -928,8 +928,7 @@ relay_abort_http(struct rsession *con, u_int code, const char *msg, "Connection: close\r\n" "Content-Type: text/html\r\n" "\r\n" - "<!DOCTYPE HTML PUBLIC " - "\"-//W3C//DTD HTML 4.01 Transitional//EN\">\n" + "<!DOCTYPE html>\n" "<html>\n" "<head>\n" "<title>%03d %s</title>\n" |