push
github
Fix up slashes in imap_fix_path (#4366) * Fix up slashes in imap_fix_path Fixes #2422 This is an alternative approach to #4358, with the goal of making this comment true: https://github.com/neomutt/neomutt/blob/1c5c53079/complete/complete.c#L80 The idea is that if we have a delim other than a slash, e.g., `.`, we can change slashes into the delim, so expansions such as +Foo, when `folder=imaps://..../INBOX` end up correctly being `imaps://.../INBOX.Foo`. * Avoid calling `imap_fix_path` with an empty path Also, avoid allocating an ImapMboxData if it's not needed.
0 of 39 new or added lines in 5 files covered. (0.0%)
4 existing lines in 2 files now uncovered.8867 of 17868 relevant lines covered (49.63%)
218.55 hits per line