delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/07/15/16:14:38

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1D21B3840C3A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1594844035;
bh=tu7kuSsGeMka+ksv2nF5Ps8J0JDO4vNszqQQ11vIi8M=;
h=Subject:To:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=VVaNqs6DAmysOwu2XsZgMmxPepj0YSauOs8g4dtblfXxRR8PHGsooApxjjRxlRnX2
v1IJ/qs1B0QjGiQP6GLQocyGSNFClhvBIlshoeJPuRkEFIKGdEkEKCg8maNeF4/9Lb
mTlbGmWZsN8HjOAU1zCSZqvVeh+8D+D4iiWuN9TI=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D2C2E3844035
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:subject:to:message-id:date:user-agent
:mime-version:content-language:content-transfer-encoding;
bh=KrVviU5r2t+kTMC6cJJWYAaBtXmf8iGMm8nL7gFlLNM=;
b=BgMeHKfX6U3k3Ia0lRa3yRflACuaxJsN1jkMn80Xos+7/vwqBm35dMqh/ERkOv87ZP
c2Ijw9v0d+NHFYNx+OEDNpCV8cMblzD6b3++NmgtrPhivw/KiiPLRp6UjyiQKvaBmnzG
M29PB115x0MI43cczS0mxTUN76ZQP9FBvSppJnQd48u6/ScUztiQ1t2fZcl7w9e2yYRF
P6h/6r9W5B09wCS0kALJ1aFslKAbe/rkjFllhYKIfCVvau5hnz6ThKnc7pZLX6u7urvi
ppbyIVAz4hd7bgdBOxCStaAaA970Jn3QU8u8Z7ULFPCBL1xlJw73acMcnN9H3/gv3Lp+
ERvQ==
X-Gm-Message-State: AOAM532orIoE4t8xYXoolwuFIYKVTJsjH9DWDyG66v+AKPse3YdfMUYO
V52/Urq7TvJFnzj3mmUfH+96K7A2aA4=
X-Google-Smtp-Source: ABdhPJw9IooOW3Snz1WxPHOZl9QBbcWIj0aHhyVM2r5lJUmPfr6UyxY5R2rrrQAzxbcTVDpuPJ10IQ==
X-Received: by 2002:a17:906:cf91:: with SMTP id
um17mr653313ejb.168.1594844031736;
Wed, 15 Jul 2020 13:13:51 -0700 (PDT)
Subject: Broken search on webserver
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <f78e2eaf-07d6-a9bd-ee84-e6414131b23b@gmail.com>
Date: Wed, 15 Jul 2020 22:13:50 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
MIME-Version: 1.0
X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM,
RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Problem: I want to search for
    libssh/libssh.h

Using https://cygwin.com/packages/

If I put the name and press Go the URL is changed in
https://cygwin.com/cgi-bin2/package-grep.cgi?grep=libssh%2Flibssh.h&arch=x86_64
                                                         ^^^

and the output is
    Found 0 matches for libsshx2Flibssh.h
                              ^^^


Instead if I modify directly the URL in:
https://cygwin.com/cgi-bin2/package-grep.cgi?grep=libssh/libssh.h&arch=x86_64

Found 3 matches for libssh/libssh.h
....


I guess that the current incapability is due to spurious urlencode in
cgi-bin2/package-grep.cgi
that is modifing the $param_grep

echo '<li><a href="package-cat.cgi?file='`urlencode 
$partfile`'&amp;grep='`urlencode $param_grep`'">'$file'</a> - '$desc'</li>'


Could someone double check my guess ?

Regards
Marco
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019