Skip to content

Commit

Permalink
Merge branch 'jb50140' into 'master'
Browse files Browse the repository at this point in the history
[buteo-sync-plugins-social] Don't pass oauth token as key query parameter. Contributes to JB#50140

See merge request mer-core/buteo-sync-plugins-social!61
  • Loading branch information
chriadam committed Jun 15, 2020
2 parents ec68dec + 38136c3 commit 0594286
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/google/google-calendars/googlecalendarsyncadaptor.cpp
Expand Up @@ -1214,7 +1214,6 @@ void GoogleCalendarSyncAdaptor::beginSync(int accountId, const QString &accessTo
void GoogleCalendarSyncAdaptor::requestCalendars(int accountId, const QString &accessToken, bool needCleanSync, const QString &pageToken)
{
QList<QPair<QString, QString> > queryItems;
queryItems.append(QPair<QString, QString>(QString::fromLatin1("key"), accessToken));
if (!pageToken.isEmpty()) { // continuation request
queryItems.append(QPair<QString, QString>(QString::fromLatin1("pageToken"),
pageToken));
Expand Down Expand Up @@ -1438,7 +1437,6 @@ void GoogleCalendarSyncAdaptor::requestEvents(int accountId, const QString &acce
}

QList<QPair<QString, QString> > queryItems;
queryItems.append(QPair<QString, QString>(QString::fromLatin1("key"), accessToken));
if (!needCleanSync) { // delta update request
queryItems.append(QPair<QString, QString>(QString::fromLatin1("syncToken"), syncToken));
} else { // clean sync request
Expand Down

0 comments on commit 0594286

Please sign in to comment.