diff --git a/trurl.c b/trurl.c index 907c57da..d60a4891 100644 --- a/trurl.c +++ b/trurl.c @@ -822,6 +822,9 @@ static void get(struct option *o, CURLU *uh) break; } } + else + errorf(o, ERROR_GET, "\"%.*s\" is not a recognized URL component", + (int)vlen, ptr); } ptr = end + 1; /* pass the end */ }