From d7d97c695d24adfed583003e0514ded753479c69 Mon Sep 17 00:00:00 2001 From: bagyenda <> Date: Tue, 7 Aug 2007 08:20:24 +0000 Subject: [PATCH] misc. fix - auth in mmsbox --- mbuni/mmsbox/mmsbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mbuni/mmsbox/mmsbox.c b/mbuni/mmsbox/mmsbox.c index 07cba5a..033cad9 100644 --- a/mbuni/mmsbox/mmsbox.c +++ b/mbuni/mmsbox/mmsbox.c @@ -1168,7 +1168,8 @@ static void sendmms_func(void *unused) username = http_cgi_variable(cgivars, "username"); password = http_cgi_variable(cgivars, "password"); - + octstr_strip_blanks(username); + octstr_strip_blanks(password); if ((u = auth_user(username, password)) != NULL && is_allowed_ip(sendmms_port.allow_ip, sendmms_port.deny_ip, ip)) { Octstr *data, *ctype = NULL, *mmc, *to, *from, *dlr_url;