Dont use https for context view searches.

This commit is contained in:
craig.p.drummond
2013-08-19 17:53:47 +00:00
committed by craig.p.drummond
parent 056e83c877
commit 869484fce7
5 changed files with 6 additions and 5 deletions

View File

@@ -8,6 +8,7 @@
will be saved here.
4. Fix reading of genres from cache file.
5. Fix updating of genres after DB is refreshed.
6. Dont use https for context view searches.
1.1.0
-----

View File

@@ -69,7 +69,7 @@ QString LastFmEngine::translateLinks(QString text) const
void LastFmEngine::search(const QStringList &query, Mode mode)
{
QStringList fixedQuery=fixQuery(query);
QUrl url("https://ws.audioscrobbler.com/2.0/");
QUrl url("http://ws.audioscrobbler.com/2.0/");
#if QT_VERSION < 0x050000
QUrl &urlQuery=url;
#else

View File

@@ -314,7 +314,7 @@ void WikipediaEngine::search(const QStringList &query, Mode mode)
void WikipediaEngine::requestTitles(const QStringList &query, Mode mode, const QString &lang)
{
cancel();
QUrl url("https://"+lang+".wikipedia.org/w/api.php");
QUrl url("http://"+lang+".wikipedia.org/w/api.php");
#if QT_VERSION < 0x050000
QUrl &q=url;
#else
@@ -512,7 +512,7 @@ void WikipediaEngine::getPage(const QStringList &query, Mode mode, const QString
}
QUrl url;
url.setScheme(QLatin1String("https"));
url.setScheme(QLatin1String("http"));
url.setHost(lang+".wikipedia.org");
url.setPath("/wiki/Special:Export/"+title);
job=NetworkAccessManager::self()->get(url);

View File

@@ -162,7 +162,7 @@ void WikipediaSettings::getLangs()
selected->clear();
reload->setEnabled(false);
cancel();
QUrl url("https://en.wikipedia.org/w/api.php");
QUrl url("http://en.wikipedia.org/w/api.php");
#if QT_VERSION < 0x050000
QUrl &q=url;
#else

View File

@@ -34,7 +34,7 @@
const QLatin1String SoundCloudService::constName("SoundCloud");
static const QString constApiKey=QLatin1String("0cb23dce473528973ce74815bd36a334");
static const QString constHost=QLatin1String("api.soundcloud.com");
static const QString constUrl=QLatin1String("https://")+constHost+QLatin1Char('/');
static const QString constUrl=QLatin1String("http://")+constHost+QLatin1Char('/');
SoundCloudService::SoundCloudService(MusicModel *m)
: OnlineService(m, constName)