summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/cgi.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2020-01-10 12:53:50 +0000
committerschwarze <schwarze@openbsd.org>2020-01-10 12:53:50 +0000
commitb2aaade0039de0d177a3e13f8fe3cadb9959555c (patch)
tree893adaa436d10b5bc3d1f289c3802271109b0e63 /usr.bin/mandoc/cgi.c
parentDocument the "delim" syntax and its usage. (diff)
downloadwireguard-openbsd-b2aaade0039de0d177a3e13f8fe3cadb9959555c.tar.xz
wireguard-openbsd-b2aaade0039de0d177a3e13f8fe3cadb9959555c.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 'usr.bin/mandoc/cgi.c')
-rw-r--r--usr.bin/mandoc/cgi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/cgi.c b/usr.bin/mandoc/cgi.c
index 346229bd6bd..06d2c5addfe 100644
--- a/usr.bin/mandoc/cgi.c
+++ b/usr.bin/mandoc/cgi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgi.c,v 1.107 2019/11/10 22:18:01 bentley Exp $ */
+/* $OpenBSD: cgi.c,v 1.108 2020/01/10 12:53:50 schwarze Exp $ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014-2019 Ingo Schwarze <schwarze@usta.de>
@@ -407,7 +407,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);