syncthing: Globbing needs to take care of special file names (versioning, conflicts)
Wherever we build glob patterns based on existing file names we need to take care of the fact that they can contain things like [-]
which gets interpreted as a broken character range.
Probably we need a well tested utility function to build these patterns, or use something other than globbing.
About this issue
- Original URL
- State: open
- Created 9 years ago
- Reactions: 5
- Comments: 15 (15 by maintainers)
Glob package we are using has QuoteMeta specifically for this purpose