public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Broken search on webserver
@ 2020-07-15 20:13 Marco Atzeri
  2020-07-16  4:25 ` Cygwin package search and cygcheck -p urlencoding still broken on new web server Brian Inglis
  0 siblings, 1 reply; 6+ messages in thread
From: Marco Atzeri @ 2020-07-15 20:13 UTC (permalink / raw)
  To: cygwin


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-16 20:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15 20:13 Broken search on webserver Marco Atzeri
2020-07-16  4:25 ` Cygwin package search and cygcheck -p urlencoding still broken on new web server Brian Inglis
2020-07-16  7:44   ` Marco Atzeri
2020-07-16 13:42     ` Jon Turney
2020-07-16 18:48       ` Marco Atzeri
2020-07-16 20:22       ` Brian Inglis

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).