diff options
Diffstat (limited to 'src/normal.c')
-rw-r--r-- | src/normal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c index 324b6e1..c265957 100644 --- a/src/normal.c +++ b/src/normal.c @@ -437,7 +437,7 @@ static VbResult normal_descent(const NormalCmdInfo *info) uri = GET_URI(); /* get domain part */ - if (!uri || *uri == '\0' + if (!uri || !*uri || !(domain = strstr(uri, "://")) || !(domain = strchr(domain + 3, '/')) ) { |