#3735: Empty hook patterns always match anything
-------------------------+----------------------
Reporter: Lekensteyn | Owner: mutt-dev
Type: defect | Status: closed
Priority: major | Milestone:
Component: mutt | Version: 1.5.23
Resolution: fixed | Keywords: patch
-------------------------+----------------------
Changes (by Kevin McCarthy <kevin@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [75e398daa94c588cb94362abd4aca8278b6cbfb6]:
{{{
#!CommitTicketReference repository=""
revision="75e398daa94c588cb94362abd4aca8278b6cbfb6"
Add error handling for ^ and other empty mailbox shortcuts.
(closes #2402) (closes #3735)
Explicitly mention the ^ example in the documentation added in
6d733cab6b45.
Add an error message for ^ when CurrentFolder is not set. Add checks
for other mailbox shortcuts that expand to the empty string. This
could happen if the @alias shortcut was accidentally used, or the value
referenced by a shortcut isn't set yet.
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3735#comment:2>
Mutt <http://www.mutt.org/>
The Mutt mail user agent