]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
config: tabescape local name and service
authorAki Tuomi <aki.tuomi@dovecot.fi>
Sat, 10 Mar 2018 17:43:27 +0000 (19:43 +0200)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Thu, 15 Mar 2018 12:58:19 +0000 (14:58 +0200)
src/config/config-connection.c

index 2885e0538a1a2cf5c411831ab55bf63d211f31cf..1924589458a7683fbdfdec5f5ac99f7fceba3040 100644 (file)
@@ -159,10 +159,10 @@ static int config_filters_request(struct config_connection *conn)
                o_stream_nsend_str(conn->output, "FILTER");
                if (filter->service != NULL)
                        o_stream_nsend_str(conn->output, t_strdup_printf("\tservice=%s",
-                                          filter->service));
+                                          str_tabescape(filter->service)));
                if (filter->local_name != NULL)
                        o_stream_nsend_str(conn->output, t_strdup_printf("\tlocal-name=%s",
-                                          filter->local_name));
+                                          str_tabescape(filter->local_name)));
                if (filter->local_bits > 0)
                        o_stream_nsend_str(conn->output, t_strdup_printf("\tlocal-net=%s/%u",
                                           net_ip2addr(&filter->local_net),