delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/07/16/03:45:27

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DB682388A811
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1594885479;
bh=/eCvr68zqovG0sNz+dtvYVvtsp0SbIAlya0qkIvl57I=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=p4wq7CGTzupC3pe63ng0sfZcg5FOygxD5CJxBUV6OhGtj7T06Io7SHhja6oCejs6Z
pOKG7ksvmSy3sXdmFYa5ETGmI+fYx5Fi7oracGBYNoD8cQshHkRD8WmcWVHjYIsIF5
jn2p0VRqSvYcGZMhaqPDT+n+751utc+P7x1slwGI=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 60B92385700A
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=J2/0qGac2MmKQLcs2LrwqMxbBWXZungX+eiv33YR0Xw=;
b=cEqFLeVUtH3VGi7PVYKg79HgKWO1wgXWt3jua7J9GnVHV7deXLZJpKl+PutzBp4/N4
IFyBXebAU/LJ13YLcb582y1BxcTO+CgQpRC+wU9N0G4Zdz3v8qS6XsNFlxzDbGi9i5Kr
g5ob1ZW0seUS/XwhP37RGnmY9cwQhyVEQSjxXSdpndItzaE+cAj578dzktkwtCXrZ8Sx
/Ztg9hnH4w+h6MH5ApAs+iyp9THTT0eiLUWhmvoewugI28kSSfKawIZ3L5d9Op5+R4Pn
rmsZM03Sz4nnSSiHxMng/O7U+lYNELknrS0c4sA3INzd5tUe1p71f3H9y85k7mNNRfgv
oxsQ==
X-Gm-Message-State: AOAM532fUPqWzOrNdtxRz7i4YTkrQW36o5lm9vfWGuN/96LFZRJMeUgL
2yTWJkWiThFZT959yMA3oC9qGF/ftU0=
X-Google-Smtp-Source: ABdhPJzx5R+iN10edHdsgbVyWm1081Ovqn3UNC6s27ETJuLlFH4jRlw9VfROFnHggQPOlsRSVkgUAw==
X-Received: by 2002:a17:906:1492:: with SMTP id
x18mr2431001ejc.545.1594885475131;
Thu, 16 Jul 2020 00:44:35 -0700 (PDT)
Subject: Re: Cygwin package search and cygcheck -p urlencoding still broken on
new web server
To: cygwin AT cygwin DOT com
References: <f78e2eaf-07d6-a9bd-ee84-e6414131b23b AT gmail DOT com>
<9c03bed5-da26-512c-3c31-ed6cd59f8043 AT SystematicSw DOT ab DOT ca>
Message-ID: <f6e7d3b9-eef8-5991-59f8-905db3a8fc53@gmail.com>
Date: Thu, 16 Jul 2020 09:44:33 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <9c03bed5-da26-512c-3c31-ed6cd59f8043@SystematicSw.ab.ca>
X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, BODY_8BITS,
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-Level: **
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-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 06G7j8lu018852

On 16.07.2020 06:25, Brian Inglis wrote:
> On 2020-07-15 14:13, Marco Atzeri via Cygwin wrote:
>> 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 ?
> 
> No change since your report on May 2nd, and my cross-post to overseers:
> 
> 	https://cygwin.com/pipermail/cygwin/2020-May/244684.html
> 
> 	https://sourceware.org/pipermail/overseers/2020q2/017115.html
> 
> where Frank suggested replacing badly urlencoded characters by ".":

this works as the dot is not changed

case $c in
             [a-zA-Z0-9.~_-]) printf "$c" ;;
             *) printf '%%%02X' "'$c"

> $ cygcheck -p libssh/libssh.h
> Found 0 matches for libsshx2flibssh.h
> $ cygcheck -p libssh.libssh.h
> Found 3 matches for libssh.libssh.h
> libssh-devel-0.7.3-1 - libssh-devel: SSH implementation library (installed
> binaries and support files)
> libssh-devel-0.7.5-1 - libssh-devel: SSH implementation library
> libssh-devel-0.8.7-1 - libssh-devel: SSH implementation library
> 
> The previous break appears to have been fixed by or due to Achim:
> 
> 	https://cygwin.com/pipermail/cygwin/2019-November/243112.html
> 
> Ping Achim?!
> 

the git logs says that only Frank and Jon have recently worked on

    cgi-bin2/package-grep.cgi

I would like to doble check any possible modification before proposing a
patch to change the web server...

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