diff --git a/mongoose.c b/mongoose.c index 2f65114c9edeae5d9797bc69295cf86e39ba71e3..d9fff80d92531e38ffe1c3adbf2d99645670f4fe 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; } }