> On Jul 18, 2020, at 8:16 PM, Brian Brombacher <[email protected]> wrote:
> 
> Hello,
> 
> Below is a patch that repairs ftpd LIST operation for at least Chrome browser.
> Discard the patch if the intention is to make clients change behavior.  A bug
> report has already been filed with the browser.  Edge browser works fine.
> Other browsers untested.
> 
> Symptom in raw output in Chrome 83:
> 
> ftpd: -l: No such file or directory
> 
> Reproduce using Chrome 83:
> 
> ftp://<openbsd ftpd>/?raw
> 
> Cheers,
> Brian
> 
> 
> Index: popen.c
> ===================================================================
> RCS file: /home/brian/cvs/src/libexec/ftpd/popen.c,v
> retrieving revision 1.29
> diff -u -r1.29 popen.c
> --- popen.c    15 Jan 2020 22:06:59 -0000    1.29
> +++ popen.c    18 Jul 2020 23:52:49 -0000
> @@ -76,7 +76,7 @@
>    argv[argc++] = "--";
> 
>    /* glob that path */
> -    if (path != NULL) {
> +    if (path != NULL && strcmp(path, "-l") != 0) {
>        glob_t gl;
> 
>        memset(&gl, 0, sizeof(gl));
> 

Update from Chromium team, looks like it’s a non-issue for this browser going 
forward.

Updates:
        Status: WontFix

Comment #4 on issue 1107143 by [email protected]: OpenBSD ftpd LIST 
incompatible
https://bugs.chromium.org/p/chromium/issues/detail?id=1107143#c4

Thank you for the report. We are in the process of deprecating and removing FTP 
support as described in https://www.chromestatus.com/features/6246151319715840 .

Cheers,
Brian

Reply via email to