forked from pool/vsftpd
This commit is contained in:
parent
abd20973e8
commit
e939f108e5
@ -6,7 +6,7 @@ Index: vsftpd-3.0.2/ls.c
|
|||||||
int matched = 0;
|
int matched = 0;
|
||||||
|
|
||||||
str_copy(&filter_remain_str, p_filter_str);
|
str_copy(&filter_remain_str, p_filter_str);
|
||||||
+ str_normalize_filepath(p_filter_str);
|
+ str_normalize_filepath(p_filename_str);
|
||||||
|
|
||||||
if (!str_isempty (&filter_remain_str) && !str_isempty(p_filename_str)) {
|
if (!str_isempty (&filter_remain_str) && !str_isempty(p_filename_str)) {
|
||||||
if (str_get_char_at(p_filter_str, 0) == '/') {
|
if (str_get_char_at(p_filter_str, 0) == '/') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user