Files
rsync/lib
Andrew Tridgell d443e8dc93 wildmatch: fold bracket-expression pattern chars under force_lower_case
dowild()'s literal path folds the pattern char, but the [class]/[a-z] path
compared unfolded pattern bytes against the (folded) text, so iwildmatch() was
still case-asymmetric for character classes and ranges -- e.g. a daemon
'hosts deny = [A-Z]*.EVIL.COM' failed to match a lower-case host (access-control
fail-open, same class as the literal case).  Fold p_ch for the escaped-member,
range-endpoint and plain-member comparisons; the range start (prev_ch) picks up
the folded value too.  Only active under force_lower_case (iwildmatch), so
case-sensitive wildmatch() is unchanged.

Reported-by: Leonid Bugaev
2026-07-20 14:05:32 +10:00
..
2020-07-11 11:39:36 -07:00
2025-08-23 17:31:40 +10:00
2019-03-16 09:15:49 -07:00
2006-01-02 17:46:12 +00:00