summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/cgi.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2020-01-10 15:20:49 +0000
committerschwarze <schwarze@openbsd.org>2020-01-10 15:20:49 +0000
commit7411869f74f16845a7e3f386b101843d236bafd9 (patch)
tree07d71634943fb359d722603b3a35815135766e92 /usr.bin/mandoc/cgi.c
parentReorder assignements a bit so that all hashed values are together (diff)
downloadwireguard-openbsd-7411869f74f16845a7e3f386b101843d236bafd9.tar.xz
wireguard-openbsd-7411869f74f16845a7e3f386b101843d236bafd9.zip
autocapitalize=none; also from Tim Baumgard
Diffstat (limited to 'usr.bin/mandoc/cgi.c')
-rw-r--r--usr.bin/mandoc/cgi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/mandoc/cgi.c b/usr.bin/mandoc/cgi.c
index 06d2c5addfe..cd938b2d466 100644
--- a/usr.bin/mandoc/cgi.c
+++ b/usr.bin/mandoc/cgi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgi.c,v 1.108 2020/01/10 12:53:50 schwarze Exp $ */
+/* $OpenBSD: cgi.c,v 1.109 2020/01/10 15:20:49 schwarze Exp $ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014-2019 Ingo Schwarze <schwarze@usta.de>
@@ -407,7 +407,8 @@ resp_searchform(const struct req *req, enum focus focus)
{
int i;
- printf("<form action=\"/%s\" method=\"get\" autocomplete=\"off\">\n"
+ printf("<form action=\"/%s\" method=\"get\" "
+ "autocomplete=\"off\" autocapitalize=\"none\">\n"
" <fieldset>\n"
" <legend>Manual Page Search Parameters</legend>\n",
scriptname);