From 0c526514fb6f4d6f822e65c4a63978a156f231e5 Mon Sep 17 00:00:00 2001 From: Reshad Patuck Date: Mon, 28 Sep 2020 21:29:56 +0530 Subject: [PATCH] update conf.c: regular expression for password Change regular expression for password from `[^@]*` to `.*` this matches all characters including the @ character. --- src/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index e7e0f32..c16f55e 100644 --- a/src/conf.c +++ b/src/conf.c @@ -54,7 +54,7 @@ #define INT "((0x)?[[:digit:]]+)" #define ALNUM "([-a-z0-9._]+)" #define USERNAME "([^:]*)" -#define PASSWORD "([^@]*)" +#define PASSWORD "(.*)" #define IP "((([0-9]{1,3})\\.){3}[0-9]{1,3})" #define IPMASK "(" IP "(/[[:digit:]]+)?)" #define IPV6 "(" \