1b4fd23ba6
Change: - Use parse_kv() for parsing in the csvfile lookup plugin. This allows us to handle multi-word search keys and filenames. Previously, the plugin split on space and so none of these things worked as expected. - Add integration tests for csvfile, testing a plethora of weird cases. Test Plan: - New integration tests, CI Tickets: - Fixes #70545 Signed-off-by: Rick Elrod <rick@elrod.me>
258 B
258 B
1 | # Last | First | Extension | |
---|---|---|---|---|
2 | Smith | Jane | jsmith@example.com | 1234 |
3 | Ipsum | Lorem | lipsum@another.example.com | 9001 |
4 | German von Lastname | Demo | hello@example.com | 123123 |
5 | "The Rock" Johnson | Dwayne | uhoh@example.com | 1337 |