summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/application.cpp2
1 files changed, 1 insertions, 1 deletions
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");