diff options
Diffstat (limited to 'embed/ephy-embed-utils.c')
-rw-r--r-- | embed/ephy-embed-utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/embed/ephy-embed-utils.c b/embed/ephy-embed-utils.c index 2ca6d7689..2bf0e1f11 100644 --- a/embed/ephy-embed-utils.c +++ b/embed/ephy-embed-utils.c @@ -119,9 +119,9 @@ ephy_embed_utils_normalize_address (const char *address) * handled internally by WebKit and mean "empty * document". */ - if (!g_ascii_strcasecmp (address, "about:plugins")) - effective_address = g_strdup (EPHY_ABOUT_SCHEME":plugins"); - else + if (g_str_has_prefix (address, "about:") && !g_str_equal (address, "about:blank")) { + effective_address = g_strconcat (EPHY_ABOUT_SCHEME, address + strlen ("about"), NULL); + } else effective_address = g_strdup (address); } |