mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-18 09:30:04 +02:00
Don't interpret #() for display-message, it usually doesn't make sense and may
leak commands.
This commit is contained in:
@@ -55,7 +55,7 @@ cmd_display_message_exec(struct cmd *self, struct cmd_ctx *ctx)
|
||||
else
|
||||
template = data->arg;
|
||||
|
||||
msg = status_replace(c, template, time(NULL));
|
||||
msg = status_replace(c, template, time(NULL), 0);
|
||||
status_message_set(c, "%s", msg);
|
||||
xfree(msg);
|
||||
|
||||
|
Reference in New Issue
Block a user