aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cgi.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-01-10 12:54:43 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-01-10 12:54:43 +0000
commitc9bae413ece8a9e8f2359c96d2338773c42bc05e (patch)
tree69a7018f70b03af8cedb06838d2d58e60bfa2c22 /cgi.c
parentb78037487d68477b09a723d8846afad6ed25ad7b (diff)
downloadmandoc-c9bae413ece8a9e8f2359c96d2338773c42bc05e.tar.gz
mandoc-c9bae413ece8a9e8f2359c96d2338773c42bc05e.tar.zst
mandoc-c9bae413ece8a9e8f2359c96d2338773c42bc05e.zip
Switch off the useless and annoying "autocomplete" feature;
issue reported by Tim Baumgard <at bmgrd dot com>. landry@ and florian@ agree with the general direction.
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi.c b/cgi.c
index 6487bdcb..7dcfb11b 100644
--- a/cgi.c
+++ b/cgi.c
@@ -1,4 +1,4 @@
-/* $Id: cgi.c,v 1.169 2019/11/10 22:35:25 schwarze Exp $ */
+/* $Id: cgi.c,v 1.170 2020/01/10 12:54:43 schwarze Exp $ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014-2019 Ingo Schwarze <schwarze@usta.de>
@@ -411,7 +411,7 @@ resp_searchform(const struct req *req, enum focus focus)
{
int i;
- printf("<form action=\"/%s\" method=\"get\">\n"
+ printf("<form action=\"/%s\" method=\"get\" autocomplete=\"off\">\n"
" <fieldset>\n"
" <legend>Manual Page Search Parameters</legend>\n",
scriptname);