From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com, overseers@sourceware.org
Subject: Re: changed behaviour for "cygcheck -p "
Date: Sat, 2 May 2020 08:53:23 -0600 [thread overview]
Message-ID: <5969fad0-6055-4a5c-bbde-813f916c185f@SystematicSw.ab.ca> (raw)
In-Reply-To: <da8e417a-61eb-c5da-a6bc-1be152b39ac7@gmail.com>
On 2020-05-02 04:11, Marco Atzeri via Cygwin wrote:
> It seems there is a new escape system that is fooling
> the search engine
>
> $ cygcheck -p 'bin/mutt'
> Found 0 matches for binx2fmutt
>
> same on the Web
e.g. Cygwin Packag Search
https://cygwin.com/packages/
enter:
"...
[ bin/cpuid.exe ] [Go]
( ) x86 (o) x86_64
..."
https://cygwin.com/cgi-bin2/package-grep.cgi?grep=bin%2Fcpuid.exe&arch=x86_64
result:
"...
Cygwin Package Search
Search package contents for a grep basic regular expression pattern
[ binx2Fcpuid.exe ] [Go]
( ) x86 (o) x86_64
Search Results
Found 0 matches for x2Fusrx2Fbinx2Fcpuid.exe
"
but tweak the browser URL directly:
https://cygwin.com/cgi-bin2/package-grep.cgi?grep=bin/cpuid.exe&arch=x86_64
"...
Cygwin Package Search
Search package contents for a grep basic regular expression pattern
[ bin/cpuid.exe ] [Go]
( ) x86 (o) x86_64
Search Results
Found 2 matches for bin/cpuid.exe
cpuid-20200211-1 - cpuid: dumps CPUID information about the CPU(s)
cpuid-20200427-1 - cpuid: dumps CPUID information about the CPU(s)
"
and curl and wget also work with the above non-urlencoded URL, so it looks like
the new server CGI borks handling urlencoded parameter values e.g. / -> %2F,
from either cygcheck -p or the web form, possibly from trying to pass thru some
urldecode filter converting %2F -> \x2F -> /, but with inadequate escaping
\\x2F, quoting '\x2F', or format (perhaps needs 0x2F?) to pass thru enough
layers to get converted, resulting in just converting "\x" to "x".
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
next parent reply other threads:[~2020-05-02 14:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <da8e417a-61eb-c5da-a6bc-1be152b39ac7@gmail.com>
2020-05-02 14:53 ` Brian Inglis [this message]
2020-05-02 15:36 ` Frank Ch. Eigler
2020-05-03 21:05 ` Brian Inglis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5969fad0-6055-4a5c-bbde-813f916c185f@SystematicSw.ab.ca \
--to=brian.inglis@systematicsw.ab.ca \
--cc=cygwin@cygwin.com \
--cc=overseers@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).