diff options
author | Alex Auvolat <alex@adnab.me> | 2020-02-02 13:32:12 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-02-02 13:32:12 +0100 |
commit | 4c037dcb94d2c663da9e624ba44dac0f833bc804 (patch) | |
tree | 4a110c2ccb999f0b343da98402273c67fe8cdc1f /read.go | |
parent | e9e7a4cb4bdf0a1fe0356d465f8becac49b46320 (diff) | |
download | bottin-4c037dcb94d2c663da9e624ba44dac0f833bc804.tar.gz bottin-4c037dcb94d2c663da9e624ba44dac0f833bc804.zip |
Bug fix: case-insensitive value match (except for passwords)
Diffstat (limited to 'read.go')
-rw-r--r-- | read.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -205,7 +205,7 @@ func applyFilter(entry Entry, filter message.Filter) (bool, error) { for entry_desc, value := range entry { if strings.EqualFold(entry_desc, desc) { for _, val := range value { - if val == target { + if valueMatch(entry_desc, val, target) { return true, nil } } |