]> git.cameronkatri.com Git - mandoc.git/commitdiff
Switch off the useless and annoying "autocomplete" feature;
authorIngo Schwarze <schwarze@openbsd.org>
Fri, 10 Jan 2020 12:54:43 +0000 (12:54 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Fri, 10 Jan 2020 12:54:43 +0000 (12:54 +0000)
issue reported by Tim Baumgard <at bmgrd dot com>.
landry@ and florian@ agree with the general direction.

cgi.c

diff --git a/cgi.c b/cgi.c
index 6487bdcb66392f16a748d51642f50db10958592c..7dcfb11be4e04d8a5a75bde7c9e9e7b2341746de 100644 (file)
--- 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);