From dacbe621f5d4418e2710968a424a9d134c33f36f Mon Sep 17 00:00:00 2001 From: matgic78 Date: Sun, 18 Oct 2009 12:34:30 +0200 Subject: fix a bug in default shortcut detection for urls --- src/application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/application.cpp b/src/application.cpp index 69acf2f2..6648d800 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -344,7 +344,7 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type) if (loadingUrl.isRelative()) { QString fn = loadingUrl.url(KUrl::RemoveTrailingSlash); - if(loadingUrl.path().contains('.')) + if(loadingUrl.path().contains('.') && !loadingUrl.path().contains(' ')) { loadingUrl.setUrl("//" + fn); loadingUrl.setScheme("http"); -- cgit v1.2.1