diff --git a/Ladybird/Tab.cpp b/Ladybird/Tab.cpp index 687d39f22e..aa33c7bb07 100644 --- a/Ladybird/Tab.cpp +++ b/Ladybird/Tab.cpp @@ -525,7 +525,7 @@ void Tab::navigate(QString url, LoadType load_type) { if (url.startsWith("/")) url = "file://" + url; - else if (!url.startsWith("http://", Qt::CaseInsensitive) && !url.startsWith("https://", Qt::CaseInsensitive) && !url.startsWith("file://", Qt::CaseInsensitive) && !url.startsWith("about:", Qt::CaseInsensitive)) + else if (!url.startsWith("http://", Qt::CaseInsensitive) && !url.startsWith("https://", Qt::CaseInsensitive) && !url.startsWith("file://", Qt::CaseInsensitive) && !url.startsWith("about:", Qt::CaseInsensitive) && !url.startsWith("data:", Qt::CaseInsensitive)) url = "https://" + url; m_is_history_navigation = (load_type == LoadType::HistoryNavigation); view().load(ak_deprecated_string_from_qstring(url));