From c97b61578507528ed2f4e155f744721959402c76 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Tue, 28 Nov 2017 15:48:29 +0000 Subject: [PATCH] Fix mg_parse_uri() PUBLISHED_FROM=e5b829d93ecf946e5bdbbf33132be7068ffe0dd2 --- mongoose.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongoose.c b/mongoose.c index 2f65114c..d9fff80d 100644 --- a/mongoose.c +++ b/mongoose.c @@ -5407,7 +5407,7 @@ int mg_parse_uri(const struct mg_str uri, struct mg_str *scheme, case P_USER_INFO: ruser_info.p = p; for (; p < end; p++) { - if (*p == '@' || *p == '[') { + if (*p == '@' || *p == '[' || *p == '/') { break; } }