Case insensitive tet of path (sr #108566).
This commit is contained in:
@ -1691,12 +1691,12 @@ prop_result(void *userdata, const ne_uri *uri, const ne_prop_result_set *set)
|
||||
}
|
||||
}
|
||||
|
||||
if (strstr(result->path, ctx->path) != result->path) {
|
||||
if (strcasestr(result->path, ctx->path) != result->path) {
|
||||
dav_delete_props(result);
|
||||
return;
|
||||
}
|
||||
|
||||
if (strcmp(result->path, ctx->path) == 0) {
|
||||
if (strcasecmp(result->path, ctx->path) == 0) {
|
||||
result->name = xstrdup("");
|
||||
} else {
|
||||
if (strlen(result->path) < (strlen(ctx->path) + result->is_dir + 1)) {
|
||||
|
Reference in New Issue
Block a user