diff --git a/src/article_netmgr.cc b/src/article_netmgr.cc index 62d2aef6..9d33abbc 100644 --- a/src/article_netmgr.cc +++ b/src/article_netmgr.cc @@ -110,7 +110,7 @@ QNetworkReply * ArticleNetworkAccessManager::getArticleReply( QNetworkRequest co if ( req.url().scheme() == "gdlookup" ) { QString path = url.path(); - if ( !path.isEmpty() ) { + if ( path.size()>1 ) { url.setPath( "" ); Utils::Url::addQueryItem( url, "word", path.mid( 1 ) );