From: Vsevolod Stakhov Date: Wed, 10 Jan 2018 19:22:31 +0000 (+0000) Subject: [Minor] Do not propagate command name to error output X-Git-Tag: 1.7.0~294 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bf80b5054ced69c97e80c3b30123f909de898f6b;p=thirdparty%2Frspamd.git [Minor] Do not propagate command name to error output Issue: #1979 --- diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c index 707ec7806d..41d4111df0 100644 --- a/src/libserver/protocol.c +++ b/src/libserver/protocol.c @@ -197,8 +197,7 @@ rspamd_protocol_handle_url (struct rspamd_task *task, return TRUE; err: - g_set_error (&task->err, rspamd_protocol_quark(), 400, "invalid command: %.*s", - (gint)pathlen, p); + g_set_error (&task->err, rspamd_protocol_quark(), 400, "invalid command"); return FALSE; }