From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by sourceware.org (Postfix) with ESMTPS id 60B92385700A for ; Thu, 16 Jul 2020 07:44:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 60B92385700A Received: by mail-ej1-x641.google.com with SMTP id p20so5505461ejd.13 for ; Thu, 16 Jul 2020 00:44:36 -0700 (PDT) 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) Received: from [192.168.2.121] (pd9ed5fcd.dip0.t-ipconnect.de. [217.237.95.205]) by smtp.gmail.com with ESMTPSA id r17sm4501116edw.68.2020.07.16.00.44.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jul 2020 00:44:34 -0700 (PDT) Subject: Re: Cygwin package search and cygcheck -p urlencoding still broken on new web server To: cygwin@cygwin.com References: <9c03bed5-da26-512c-3c31-ed6cd59f8043@SystematicSw.ab.ca> From: Marco Atzeri Message-ID: 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> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: it Content-Transfer-Encoding: 8bit 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jul 2020 07:44:37 -0000 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 '
  • '$file' - '$desc'
  • ' >> 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