aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--embed/ephy-web-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index a0c63c7f9..c51b81b35 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -2787,7 +2787,7 @@ ephy_web_view_can_go_up (EphyWebView *view)
return FALSE;
}
- result = (uri->fragment || uri->query || strlen (uri->path) > 1);
+ result = uri->fragment || uri->query || (uri->path && (strlen (uri->path) > 1));
soup_uri_free (uri);
return result;