wok view busybox/stuff/busybox-1.16.1-ftpd.u @ rev 5684

Up busybox (1.16.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 04 17:00:07 2010 +0200 (2010-06-04)
parents
children
line source
1 --- busybox-1.16.1/networking/ftpd.c
2 +++ busybox-1.16.1/networking/ftpd.c
3 @@ -633,10 +633,10 @@
4 argv[4] = NULL;
6 /* Improve compatibility with non-RFC conforming FTP clients
7 - * which send e.g. "LIST -l", "LIST -la".
8 + * which send e.g. "LIST -l", "LIST -la", "LIST -aL".
9 * See https://bugs.kde.org/show_bug.cgi?id=195578 */
10 if (ENABLE_FEATURE_FTPD_ACCEPT_BROKEN_LIST
11 - && G.ftp_arg && G.ftp_arg[0] == '-' && G.ftp_arg[1] == 'l'
12 + && G.ftp_arg && G.ftp_arg[0] == '-'
13 ) {
14 const char *tmp = strchr(G.ftp_arg, ' ');
15 if (tmp) /* skip the space */