From nobody Fri Dec 23 15:33:33 2022 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ndrms2tkJz1LrMQ for ; Fri, 23 Dec 2022 15:33:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ndrms2RLLz3x3H; Fri, 23 Dec 2022 15:33:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671809613; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QI4WTvhKZn9vfFRxR/7M4zoFMZ43u8Iviy9dCSFJ9Fk=; b=mRI2NOdLfwmpn+glBcTRfwNe9RGemPVOyaerdxpH/mMA3abqsvRkbXzJY6doRaqko+0vdz W+tXF83ByQpO4ZZCEhhmI+1uR+K/o0y10eRLI0W3TkQ9FRY96OO0VwWTCf8Fu8eR3kq382 WNvGIbuNi9s6S/n/HPa9H2k3b+c5u/jegSlJBJbv4jasFcKxJ+lczagD14hUDysS7TKapc TNaUQTsDEaJRsqtJpXrijux8rNkopu8mT9fydUo5aLIzRKgA1RORGx3fGHv3N1IO6QFaFt hitu2Spb92injowjE11IcI5h0JTzCkKRvJ1gm5OOc9t21qmmSiZja8XMqSEVRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671809613; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QI4WTvhKZn9vfFRxR/7M4zoFMZ43u8Iviy9dCSFJ9Fk=; b=xDe2xUcUGaYmcgqXCOSrH0k0KWYwc6urlt7uD4BSEHOnJwEItXcplY1x+Xk+gha8C0W64t 4lIfhm0KDFablvdkn97tJAvoFRomm6o+/GwKzU5q5nIBFaAzT022IhP4NRAPyPnZjXJEGR 5zVMTbWSKXedjrN+hQSFcAAGIg5GKAy6hANr/jDnP3w8l6daL/Y2n9xByJXLUE850fZp/3 qAq+0X/UkZQTSXExJYcwfc/3hmLf49s4bJNl0yLvSf9BpwgqQBptmP4reFk0Dz31JQOGNa /q6eN9uQPHmp9f4bs4bVapa/YUEbtB+X3j7ty9IhLalMAJITlVHOacVoc6N/IQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671809613; a=rsa-sha256; cv=none; b=qsldhB4v181UL96ag2I1DdiT/QA0JA13F9GZP5AgbIWNLrpFyGuhCvhg8BNLGe5x6gNQcz zO6VyVBVWj9An4HGlGY/1yaV++rF3qehdlG/e/2i/4qU3DwaEMwod5KOIhq6PwMHhglAdB hu1skqyD21PSHfp0aDdNRUOGId55+VAzZTy1hnN2EXKe7oNtNCGxwUbyUJcVTeszJLm7IR Rxbp6BIuxwUi10lDuMXtmkzwgjdxXVtZWBUjLdRMO/DxkuKlAPHu3yn0g1UhXpZ2k+dvC1 pH0Aq2KqNs/wFRSrkwGXKwuJex/MsubCZA0qFdKrC6JFuoYrg8svJpt5BrVW+g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Ndrms1Vr3zfBk; Fri, 23 Dec 2022 15:33:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BNFXXCe024571; Fri, 23 Dec 2022 15:33:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BNFXXWa024570; Fri, 23 Dec 2022 15:33:33 GMT (envelope-from git) Date: Fri, 23 Dec 2022 15:33:33 GMT Message-Id: <202212231533.2BNFXXWa024570@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Wolfram Schneider Subject: git: 7454f0fb3c - main - ignore double quotes in search queries PR: 268525 Reported by: 12un91h9.hello@gmail.com List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wosch X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7454f0fb3ccea92b67d40e79288cffe4b4c71eea Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wosch: URL: https://cgit.FreeBSD.org/doc/commit/?id=7454f0fb3ccea92b67d40e79288cffe4b4c71eea commit 7454f0fb3ccea92b67d40e79288cffe4b4c71eea Author: Wolfram Schneider AuthorDate: 2022-12-23 15:31:25 +0000 Commit: Wolfram Schneider CommitDate: 2022-12-23 15:31:25 +0000 ignore double quotes in search queries PR: 268525 Reported by: 12un91h9.hello@gmail.com --- website/content/en/cgi/man.cgi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/content/en/cgi/man.cgi b/website/content/en/cgi/man.cgi index 5ad9251dcf..7c5e8bffa9 100755 --- a/website/content/en/cgi/man.cgi +++ b/website/content/en/cgi/man.cgi @@ -1189,6 +1189,10 @@ sub do_man { $form{'query'} =~ s/\s+$//; $form{'query'} =~ s/^\s+//; + # not supported query characters + $form{'query'} =~ s/"//g; + $form{'query'} =~ s/=//g; + $name = $query = $form{'query'}; $section = $form{'sektion'}; $apropos = $form{'apropos'};