aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-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 3ee698bc5..d8e5c7a00 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -2833,7 +2833,7 @@ is_public_domain (EphyWebView *view, const char *url)
if (g_str_equal (url, "localhost"))
return TRUE;
- url = g_strstr_len (url, -1, ".");
+ url = g_strrstr (url, ".");
if (!url || *url == '\0')
return FALSE;