diff options
| author | 2014-08-05 14:36:10 +0000 | |
|---|---|---|
| committer | 2014-08-05 14:36:10 +0000 | |
| commit | 940320ea001dd3ee714065b5cf12da145929825c (patch) | |
| tree | e4fc32ff6da8d67c321c1d9d65c6519c5b0de42b /usr.sbin/httpd/server_http.c | |
| parent | spaces (diff) | |
| download | wireguard-openbsd-940320ea001dd3ee714065b5cf12da145929825c.tar.xz wireguard-openbsd-940320ea001dd3ee714065b5cf12da145929825c.zip | |
retire blink because this is serious software now; ok beck
Diffstat (limited to 'usr.sbin/httpd/server_http.c')
| -rw-r--r-- | usr.sbin/httpd/server_http.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/usr.sbin/httpd/server_http.c b/usr.sbin/httpd/server_http.c index 87516e6d117..2132be6de5c 100644 --- a/usr.sbin/httpd/server_http.c +++ b/usr.sbin/httpd/server_http.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server_http.c,v 1.36 2014/08/04 11:09:25 reyk Exp $ */ +/* $OpenBSD: server_http.c,v 1.37 2014/08/05 14:36:10 deraadt Exp $ */ /* * Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org> @@ -612,14 +612,7 @@ server_abort_http(struct client *clt, u_int code, const char *msg) /* A CSS stylesheet allows minimal customization by the user */ style = "body { background-color: white; color: black; font-family: " - "'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif; }" - "blink { animation:blink 1s; animation-iteration-count: infinite;" - "-webkit-animation:blink 1s;" - "-webkit-animation-iteration-count: infinite;}" - "@keyframes blink { 0%{opacity:0.0;} 50%{opacity:0.0;}" - "50.01%{opacity:1.0;} 100%{opacity:1.0;} }" - "@-webkit-keyframes blink { 0%{opacity:0.0;} 50%{opacity:0.0;}" - "50.01%{opacity:1.0;} 100%{opacity:1.0;} }"; + "'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif; }"; /* Generate simple HTTP+HTML error document */ if (asprintf(&httpmsg, "HTTP/1.0 %03d %s\r\n" @@ -637,7 +630,7 @@ server_abort_http(struct client *clt, u_int code, const char *msg) "<style type=\"text/css\"><!--\n%s\n--></style>\n" "</head>\n" "<body>\n" - "<h1><blink>%s</blink></h1>\n" + "<h1>%s</h1>\n" "<div id='m'>%s</div>\n" "<hr><address>%s at %s port %d</address>\n" "</body>\n" |
